+ 1
Does somebody knows how to make new font-family, based on local fonts in css?
6 Réponses
+ 1
I recommend you do not use of that, because maybe some old browsers can not identify that .
anyway, it is good to know about it 😉.
you can use of @font-face .( you need to upload this new font on host that user can see that when visit your website.)
@font-face {
font-family : myFirstFont;
src: url( 'you can write here your font name.ttf');
url( 'you can write here your font name.eot');
}
div{
font-family: myFirstFont;
}
+ 2
Did it work???
Is there any problem yet???
+ 2
happy to hear that and good luck~~~
+ 1
sara, thank you, but I had searched this in Internet and found a way how to do this (in most parts it's like your's)
+ 1
No, there isn't any problem much more and yes, it works
+ 1
thanks