peteboere / css-crush

CSS preprocessor.
http://the-echoplex.net/csscrush
MIT License
537 stars 51 forks source link

font-size: medium breaks font inheritance in websites #31

Closed chadfurman closed 12 years ago

chadfurman commented 12 years ago

Hey, so I'm willing to bet that font-size: medium is actually an initial value.

Is font-size: 1em is actually a better choice?

peteboere commented 12 years ago

Yep, medium the official initial value for font-size: http://www.w3.org/TR/2011/WD-css3-fonts-20110324/#font-size-prop

The initial value is often different to what is defined in the browser default styles. Which in the case of font-size would probably be a more useful relative font-size.