안녕하세요!
Let's begin by choosing your favorite fonts, for example from Dafont.com.
I choose "Pinky Promise" font for this tutorial. Click Download.
Unzip your .zip file. It can also be done by right-clicking the file → extract here.
Another file will appear as .ttf
additional information:
Mozilla supports OTF and TTF
Safari and Opera support OTF, TTF and SVG
Chrome supports TTF and SVG
Now we're going to get the direct download link of the font we've downloaded. (I purely improvised this part ) I recommend you to use Tumblr to upload our .ttf file.
- Copy this code to your CSS/HTML area above
@font-face{font-family:YOUR FONT NAME;src:url('YOUR FONT DIRECT DOWNLOAD URL')}
- Replace YOUR FONT NAME with your font's name and YOUR FONT DIRECT DOWNLOAD URL with the file URL.
- Click Save and done!
Labels: Fonts, Tutorial, Web Designing