what is font face code example
Example 1: css font face
@font-face {
// Defining what the font will be called
font-family: thisSpecialFont;
// Linking to the font file
src: url(linkToFontFile.woff);
}
body {
font-family: thisSpecialFont;
}
Example 2: font face
@font-face {
font-family: myFirstFont;
src: url(sansation_light.woff);
}
Example 3: @font-face
@font-face {
font-family: "The name of your font for your file";
src: url("The link to your .ttf or .otf file");
}