+ 1

Does somebody knows how to make new font-family, based on local fonts in css?

2nd Mar 2018, 8:07 AM
Vadim Shuvaev
Vadim Shuvaev - avatar
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; }
2nd Mar 2018, 8:24 AM
sarah
sarah - avatar
+ 2
Did it work??? Is there any problem yet???
2nd Mar 2018, 8:31 AM
sarah
sarah - avatar
+ 2
happy to hear that and good luck~~~
2nd Mar 2018, 8:34 AM
sarah
sarah - avatar
+ 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)
2nd Mar 2018, 8:29 AM
Vadim Shuvaev
Vadim Shuvaev - avatar
+ 1
No, there isn't any problem much more and yes, it works
2nd Mar 2018, 8:32 AM
Vadim Shuvaev
Vadim Shuvaev - avatar
+ 1
thanks
2nd Mar 2018, 8:35 AM
Vadim Shuvaev
Vadim Shuvaev - avatar