Bulletproof @Font-Face Syntax


/ Published in: CSS
Save to your folder(s)



Copy this code and paste it in your HTML
  1. @font-face {
  2. font-family: 'MyFontFamily';
  3. src: url('myfont-webfont.eot?#iefix') format('embedded-opentype'),
  4. url('myfont-webfont.woff') format('woff'),
  5. url('myfont-webfont.ttf') format('truetype'),
  6. url('myfont-webfont.svg#svgFontName') format('svg');
  7. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.