How do I call a font variation in CSS?

4

How do 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 font variation: i3 and my css looks like this:

font: 16px 'open-sans-condensed'
    
asked by anonymous 06.11.2014 / 22:08

1 answer

5

In Adobe Edge Web Fonts , the custom style i3 corresponds to Light Italic to be used as follows: / p>

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 */
}

Using fonts in CSS

Here is the complete reference list for font-weight :

  • 100 Thin, Hairline
  • 200 Extra Light
  • 300 Light
  • 400 Normal, Book
  • 500 Medium
  • 600 Semibold, Demibold
  • % Bold%
  • 700 Heavy, Extra Bold
  • 800 Black
07.11.2014 / 00:15