Comment on In CSS, “px” is not an angular measurement and it is not non-linearparentComments−molf12yThe 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.−marijn12yBut note that px is also relative to the zoom level, as unintuitive as that sounds.−molf12yNot to the text zoom level.−bxbb12ymodernizr + css-remunit polyfills and you can start using rem today. :)
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. :)