Is it just me who has difficulties reading this article on desktop?
Is it just me who has difficulties reading this article on desktop?
OTOH reader mode on firefox fixes any of that nonsense.
Namely according to the MDN docs I read:
> To recap, the em unit means "my parent element's font-size" in the case of typography. The <li> elements inside the <ul> with a class of ems take their sizing from their parent. So each successive level of nesting gets progressively larger, as each has its font size set to 1.3em — 1.3 times its parent's font size.
So REM is what you probably want if you intend to do some nesting and use the parents root font-size, set it once, apply it everywhere. TIL what em really does, versus what rem does.
[0]: https://developer.mozilla.org/en-US/docs/Learn/CSS/Building_...