Posted By


eklemen on 09/20/12

Tagged


Statistics


Viewed 583 times
Favorited by 0 user(s)

@font-face multiple type variants


/ Published in: CSS
Save to your folder(s)

Using the same font-family name keeps things simple and provides a fallback

By changing the font-weight and font-style declarations of each @font-face rule to match each font’s properties, and using the same font-family name for each rule, we will no longer need to be overly specific in our CSS:

http://www.456bereastreet.com/archive/201012/font-face_tip_define_font-weight_and_font-style_to_keep_your_css_simple/

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.