How to Setup Custom Fonts with CSS & @font-face code example
Example 1: how many fonts can i add in a css font-face
@font-face {
font-family: CustomFont;
src: url('CustomFont.ttf');
}
@font-face {
font-family: CustomFont2;
src: url('CustomFont2.ttf');
}
Example 2: custom font family using @font-face
@font-face
{
font-family: myFirstFont;
src: url(sansation_light.woff);
}