Harry Roberts @csswizardry.com · Apr 9

PSA, this is why you keep seeing Times New Roman all over your site. #CSS #CLS #Typography

14 likes 4 replies

?

Replies

Naomi "Strings" · Apr 9

Not to be "that person", but it's ironic that the comments refer to "emissions or errors" instead of "omissions or errors." This is my personal Easter egg ...

Mike Jeffery · Apr 9

I've seen this come up in recent projects. Great explanation! Put the correct stacks in custom properties and save everyone a headache!

Harry Roberts · Apr 9

Lovers will say this isn’t AI. Full of typos. My bad.

Harry Roberts · Apr 9

Put another way, `font-family` is only inherited if the current element has an invalid or omitted `font-family`. If the current element’s `font-family` is valid (and just happens to contain a sub-par stack), the browser has no cause to inherit—it’s done exactly what you asked it!