Your daily frequent11y newsletter, brought to you by @ChrisBAshton:
Accessible Fonts: Please, STOP Using PX For Screen!
- A very ranty article that nevertheless explains quite well the reasons for using
em
(rather thanpx
) for your font sizes, media queries, margins and padding. It dispels the myth that the ‘default’ font size is always 16px (the author’s default is 20px).rem
is argued against as theme changes have to be applied in more places.pt
,mm
,cm
and other ‘real-world’ metrics have their place only in yourprint
styles.
Prefer longer newsletters? You can subscribe to week11y, fortnight11y or even month11y updates! Every newsletter gets the same content; it is your choice to have short, regular emails or longer, less frequent ones. Curated with ♥ by developer @ChrisBAshton.