How can I inplement a deffault fonts to my web page. I have file with fonts, all I need to know is how to implement it?
Best wishes and thanks !!!
How can I inplement a deffault fonts to my web page. I have file with fonts, all I need to know is how to implement it?
Best wishes and thanks !!!
correct you can use this css
@font-face {
font-family: myFirstFont;
src: url(sansation_light.woff);
}
also, for complete code usage please refer to this link
all the best
You can use this CSS code to define a new font face (using truetype fonts as an example).
@font-face {
font-family:'Your Font Name Here';
src:url('path-to-your-font.ttf') format('truetype');
}
Then, you can use your font as you normally would in CSS.