3 ms·
the way most people do it is to use font-family: blah; on every class that needs it. this is because @font-face isn't supported completely when using simply
by elwell 13y ago
the way most people do it is to use
font-family: blah;
on every class that needs it. this is because @font-face isn't supported completely when using simply
font-weight: blah;
to differentiate between different @font-face family groups.
- calinet6 13y agoIf you define your weights correctly when loading your @font-faces, then weight works as expected: http://www.456bereastreet.com/archive/201012/font-face_tip_define_font-weight_and_font-style_to_keep_your_css_simple/ http://www.456bereastreet.com/archive/201012/font-face_tip_d...
- elwell 13y agoThat technique is actually what I'm referring to. I've seen that not work before; sorry don't have details. I just don't mess with that anymore and instead use every font-family explicitly when needed.