0

How do you use custom fonts in CSS?

I was wondering how you could use custom fonts in css. I tried @font-face but it didn't work. I've got a TFF file as the font of KG Happy running sololearn on chrome.

18th Jul 2018, 3:25 AM
The C0der
The C0der - avatar
2 Answers
+ 4
How did you link your web font? Linking font file from Dropbox is not working. You need to host the files.
18th Jul 2018, 4:53 AM
CalviŐ˛
CalviŐ˛ - avatar
+ 1
You can't access local storage (for fonts, imgs, etc.) here. Upload the file somewhere, so that you can access it.
18th Jul 2018, 4:19 AM
Paul Grasser
Paul Grasser - avatar