Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
molf
on Nov 4, 2013
|
parent
|
context
|
favorite
| on:
In CSS, “px” is not an angular measurement and it ...
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.
marijn
on Nov 4, 2013
|
next
[–]
But note that px is also relative to the zoom level, as unintuitive as that sounds.
molf
on Nov 4, 2013
|
parent
|
next
[–]
Not to the text zoom level.
bxbb
on Nov 4, 2013
|
prev
[–]
modernizr + css-remunit polyfills and you can start using rem today. :)
Consider applying for YC's first-ever Fall batch! Applications are open till Aug 27.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
If you don't need to support IE8 you should start using rem today.