3 ms·
Yes! You're completely right and I've argued something similar against sites that like to set 62.5% font size on body. Thank you for calling out my poor example
by Nadya 10y ago
Yes! You're completely right and I've argued something similar against sites that like to set 62.5% font size on body. Thank you for calling out my poor example! I'll update it if it lets me.
For those who don't yet know why this is a big deal, I made a Codepen to illustrate why: http://codepen.io/anon/pen/eZwxam http://codepen.io/anon/pen/eZwxam
Change the font size from 18px to 12px and then to 24px to simulate users with varying default font sizes set in their browser. Note how the containers change. While it will vary from person to person, a fixed 800px width of a container with 12px font size is far too wide for my taste and far too narrow for 24px. While I find 44em is better for both.
Note: I do not suggest ever changing the font size of body but it makes the example easy to use.