Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Ems. They're relative to the font size used for their parent element, which makes it a lot easier to scale up or down the whole Page's font size by just changing the body's.
It's a bit like static positionning vs absolute positionning. -
Dacexi119968y@paulwillyjean I mostly do electron stuff so it doesn't really matter. When I have to dev for cross browse I use px
-
@jAsE I accidentally pluralized em. Ems and em are the same thing. So 1em is still 1em.
What do you prefer for metrics, px or em?
undefined