Different font weights
-
Hi there, you can specify the font-weight and style with @font-face like this:
@font-face { font-family: 'Ubuntu'; src: url('Ubuntu-RI-webfont.eot'); src: url('Ubuntu-RI-webfont.eot?#iefix') format('embedded-opentype'), url('Ubuntu-RI-webfont.woff') format('woff'); font-weight: 400; font-style: italic; } @font-face { font-family: 'Ubuntu'; src: url('Ubuntu-B-webfont.eot'); src: url('Ubuntu-B-webfont.eot?#iefix') format('embedded-opentype'), url('Ubuntu-B-webfont.woff') format('woff'); font-weight: 700; font-style: normal; }
Is there a way to do this with Custom Fonts? If not, is this a feature in development? Thank you!
- The topic ‘Different font weights’ is closed to new replies.