jessyhoule

CSS / font-face

Jun 25th, 2015
409
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 0.45 KB | None | 0 0
  1. @font-face{
  2.     font-family: 'MyWebFont';
  3.     font-weight: normal;/* Makes BOLD work in Chrome */
  4.     font-style: normal;/* Makes BOLD work in Chrome */
  5.     src: url('fonts/WebFont.eot');
  6.     src: url('fonts/WebFont.eot?#iefix') format('embedded-opentype'),
  7.          url('fonts/WebFont.woff') format('woff'),
  8.          url('fonts/WebFont.ttf') format('truetype'),
  9.          url('fonts/WebFont.svg#webfont') format('svg');
  10. }
  11.  
  12. p { font-family: 'MyWebFont', Arial, sans-serif; }
Advertisement
Add Comment
Please, Sign In to add comment