Posted By

nshakin on 05/18/13


Tagged

css fonts


Versions (?)

CSS Custom Font File


 / Published in: CSS
 

Reference a custom font file for use within a stylesheet

  1. @font-face {
  2. font-family: custom-font;
  3. src: url('custom-font.ttf');
  4. }
  5.  
  6. /* Example */
  7. .p {
  8. font-family: custom_font;
  9. }

Report this snippet  

You need to login to post a comment.