Skip to content

Instantly share code, notes, and snippets.

@sergeimuller
Last active October 7, 2015 09:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sergeimuller/3142881 to your computer and use it in GitHub Desktop.
Save sergeimuller/3142881 to your computer and use it in GitHub Desktop.
Cross-browser @font-face syntax
/* Sample @font-face declaration for EOT & TTF/OTF recommended by Paul Irish */
@font-face {
font-family: 'Graublau Web';
src: url('GraublauWeb.eot?') format('eot'),
url('GraublauWeb.woff') format('woff'),
url('GraublauWeb.ttf') format('truetype');
}
/* Read the full article: http://paulirish.com/2009/bulletproof-font-face-implementation-syntax/ */
/* @font-face browser support overview: http://webfonts.info/browser-support-overview */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment