3 ms·
As far as i understand it's about `rem`, not `em` (which is relative to it's parent not the 62.5-normalized root element). And as long as you don't go all-in wi
by chriswep 4y ago
As far as i understand it's about `rem`, not `em` (which is relative to it's parent not the 62.5-normalized root element). And as long as you don't go all-in with absolute units (and loose all control over custom scaling on your site/app), you still need `rem`.
- piskerpan 4y agoThe 62.5 hack has been around for a decade before rem was even thought of. The fact that rem would be a better fit for it is irrelevant to the conversation. I'm just saying that using em and rem for sizing isn't as useful as it once was. My rule of thumb is to only use them for things directly related to text, like inline icons, text spacing and whatnot.