Chris Staudinger on X: "CSS em vs rem explained 🎨👇 Both em and rem are relative units of measurement used in frontend development. em is relative to the font size of the
![Why designers should move from px to rem (and how to do that in Figma) | by Christine Vallaure | UX Collective Why designers should move from px to rem (and how to do that in Figma) | by Christine Vallaure | UX Collective](https://miro.medium.com/v2/resize:fit:1400/1*X0OzlPZwhXHI4WBI4J_xOw.jpeg)
Why designers should move from px to rem (and how to do that in Figma) | by Christine Vallaure | UX Collective
![Figma now supports REM units: understanding the use and benefits | by Christine Vallaure | UX Collective Figma now supports REM units: understanding the use and benefits | by Christine Vallaure | UX Collective](https://miro.medium.com/v2/resize:fit:1400/1*RbRKlfEuTyRL4e2DIpN_zg.png)
Figma now supports REM units: understanding the use and benefits | by Christine Vallaure | UX Collective
![css - rem works fine with font-size but does NOT work fine with margin if I set 10px font-size to html tag - Stack Overflow css - rem works fine with font-size but does NOT work fine with margin if I set 10px font-size to html tag - Stack Overflow](https://i.stack.imgur.com/pMXyM.png)
css - rem works fine with font-size but does NOT work fine with margin if I set 10px font-size to html tag - Stack Overflow
![Why designers should move from px to rem (and how to do that in Figma) | by Christine Vallaure | UX Collective Why designers should move from px to rem (and how to do that in Figma) | by Christine Vallaure | UX Collective](https://miro.medium.com/v2/resize:fit:1400/1*fmQL30oxhkmjYdy9taPiBg.jpeg)