+ 2

WEB SAFE FONT

Is there any trick to using any font I want and have it appear the same to all users?

1st Aug 2017, 7:33 PM
Lanie
Lanie - avatar
4 Antworten
+ 4
You can use @font-face: /* Setup a font */ @font-face { src: url('path/to/font.ttf'); font-family: FontName; } /* Use the font in your document */ * { font-family: FontName; }
1st Aug 2017, 8:19 PM
$machitgarha
$machitgarha - avatar
+ 2
Thanks!
1st Aug 2017, 8:22 PM
Lanie
Lanie - avatar
+ 2
Use Google fonts. Over 600 of free, publicly accessible fonts. Put this into the head tag <link href="https://fonts.googleapis.com/css?family=name-of-font" rel="stylesheet"> then use the font is if it was a local font. font-family: name-of-font;
4th Aug 2017, 6:10 PM
Petr Faitl
Petr Faitl - avatar
+ 2
Google Fonts is web safe
13th Nov 2020, 11:15 PM
Galaxy-Coding (inactive)
Galaxy-Coding (inactive) - avatar