Posted By

blueocto on 02/04/11

Tagged

css

Viewed 2 times

The New Bulletproof @Font-Face Syntax


/ Published in: CSS

URL: http://www.fontspring.com/blog/the-new-bulletproof-font-face-syntax

We've tested on:

Safari 5.03, IE 6-9, Firefox 3.6-4, Chrome 8, iOS 3.2-4.2, Android 2.2-2.3, Opera 11

  1. @font-face {
  2. font-family: 'MyFontFamily';
  3. src: url('myfont-webfont.eot#') format('eot'),
  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.