Skip to content

Instantly share code, notes, and snippets.

@magemore
Created April 25, 2012 04:58
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save magemore/2486561 to your computer and use it in GitHub Desktop.
Save magemore/2486561 to your computer and use it in GitHub Desktop.
Bulletproof @fontface
@font-face {
font-family: 'MyFontFamily';
src: url('myfont-webfont.eot?') format('eot'),
url('myfont-webfont.woff') format('woff'),
url('myfont-webfont.ttf') format('truetype'),
url('myfont-webfont.svg#svgFontName') format('svg');
}
@magemore
Copy link
Author

This is the Fontspring @font-face syntax:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment