/ Published in: CSS

Reference a custom font file for use within a stylesheet
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
@font-face { font-family: custom-font; src: url('custom-font.ttf'); } /* Example */ .p { font-family: custom_font; }
Comments
