Re:User Interface Typography
by arp242 on Monday December 11, 2023 @10:41AM
(#38601545)
The "rem" unit fixes that: it's "relative em" and relative to the root rather than parent. It's supported everywhere (even IE) and for new projects you should probably always use "rem" and never "em".
[ Parent
| on HN ]
You gotta love CSS naming, where "relative em" is the version of "em" that is not relative to the parent.
That would have been a fun one, but rem stands for "root em"!
That's weird, I confirmed it on https://drafts.csswg.org/css-values before posting that comment, but now I can't find it anymore. Thanks for the correction.