Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 484 Bytes

font-face.md

File metadata and controls

26 lines (17 loc) · 484 Bytes

@font-face

The @font-face at-rule expects as you would expect. Simply add a block of properties after it, like so:

 @font-face
   font-family Geo
   font-style normal
   src url(fonts/geo_sans_light/GensansLight.ttf)

 .ingeo
   font-family Geo

Yielding:

  @font-face {
    font-family: Geo;
    font-style: normal;
    src: url("fonts/geo_sans_light/GensansLight.ttf");
  }
  .ingeo {
    font-family: Geo;
  }