HOW TO USE FONT FACE
We need four type of font if you want that your font work with all browser. Because different browser support different font extension.
The name of the extension is . woff, .otf, .ttf, .svg.
If you use all this in your font face code it will take effect in all browser.
Here i am going to make (nordstern) in fontface
CODE
font-family: 'nordstern_demonormal';
src: url('nordsterndemo-normal-webfont.eot');
src: url('nordsterndemo-normal-webfont.eot?#iefix') format('embedded-opentype'),
url('nordsterndemo-normal-webfont.woff2') format('woff2'),
url('nordsterndemo-normal-webfont.woff') format('woff'),
url('nordsterndemo-normal-webfont.ttf') format('truetype'),
url('nordsterndemo-normal-webfont.svg#nordstern_demonormal') format('svg');
font-weight: normal;
font-style: normal;
}
Comments
Post a Comment