News for hackers. Stuff that matters.
Re:CSS coding techniques by jaseflow on Friday May 20, 2016 @05:23AM (#11736509)
If you use em for say the bottom margin on a heading, it is going to be relative to the font size of that heading (if specified).

Where as a rem would always be relative to the root of the document, which is not always the desired effect when it comes to responsive typography.

Re:CSS coding techniques by manmal on Friday May 20, 2016 @05:25AM (#11736514)
I'm sure grandparent knows that. The problem with cascadingly using em is that you cannot easily deduce the derived em-value on the nth level (e.g. header > nav > div > a, each with their own em-based font-size; good luck reasoning about a's em-value).