Skip to content

Comment on In CSS, “px” is not an angular measurement and it is not non-linearparent

Comments

The rem unit is awesome! All the benefits of em (relative to browser text zoom level) combined with the benefits of px (does not change depending on parent element font size).

If you don't need to support IE8 you should start using rem today.

But note that px is also relative to the zoom level, as unintuitive as that sounds.

Not to the text zoom level.

modernizr + css-remunit polyfills and you can start using rem today. :)

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.