Hacker News new | ask | show | jobs
by lucas_codes 1308 days ago
I thought rem was "root em" since its relative to the document root and not relative to the parent like em.
2 comments

According to this page, you are correct:

https://www.w3.org/Style/Examples/007/units.en.html#future

Yep, both em and rem are relative units, and rem is relative all the way down to <html> (ie, root).