css font family font face code example
Example 1: font face
@font-face {
font-family: myFirstFont;
src: url(sansation_light.woff);
}
Example 2: @font-face rule in css
@font-face {
font-family: "Open Sans";
src: url("/fonts/OpenSans-Regular-webfont.woff2") format("woff2"),
url("/fonts/OpenSans-Regular-webfont.woff") format("woff");
}