0

Do we need to add font file along with CSS? or just mention in the code only needed?

9th Feb 2016, 3:32 AM
AKHIL
AKHIL - avatar
4 odpowiedzi
+ 4
You have to add the font files to your project and refer to them using CSS. For example: @font-face { font-family: "My Custom Font"; src: url(http://www.example.org/mycustomfont.ttf) format("truetype"); } p.customfont { font-family: "My Custom Font", Verdana, Tahoma; } In the above example the mycustomfont.ttf file is used, which is uploaded to the coresponding URL used for the font-face.
26th May 2016, 12:44 PM
James Flanders
+ 2
its not mandatory. But if viewer do not have installed the font you choose, we won't see it.
30th Jun 2016, 4:03 PM
Jörj Svenssen
Jörj Svenssen - avatar
0
We need to add it as the first guy gave an example
30th Aug 2016, 10:01 PM
July Manana
July Manana - avatar
0
just add it bru
1st Sep 2016, 4:53 AM
John Paolo Bodollo
John Paolo Bodollo - avatar