What do I call a font variation in CSS?

Asked

Viewed 313 times

4

How I use the OPEN SANS font variation?

Example:

<script src="//use.edgefonts.net/open-sans-condensed:n3,i3,n7:all;
        open-sans:n3,i3,n4,i4,n6,i6,n7,i7,n8,i8:all.js">
</script>

I want to use the source variation: i3 and my css is like this:

font: 16px 'open-sans-condensed'

1 answer

5

In the Adobe Edge Web Fonts, the custom style i3 corresponds to Light Italic which shall be used as follows:

body {
  font-family: open-sans, sans-serif;   /* a fonte a usar e a font de fallback */

  font-weight: 300;                     /* "Light" == 300 */
  font-style: italic;                   /* "Italic" == italic */
}

Captura de tela

Using fonts in CSS

The complete reference list for font-weight:

  • 100 Thin, Hairline
  • 200 Extra Light
  • 300 Light
  • 400 Normal, Book
  • 500 Medium
  • 600 Semibold, Demibold
  • 700 Bold
  • 800 Heavy, Extra Bold
  • 900 Black

Browser other questions tagged

You are not signed in. Login or sign up in order to post.