Last active
October 7, 2015 09:27
-
-
Save sergeimuller/3142881 to your computer and use it in GitHub Desktop.
Cross-browser @font-face syntax
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* 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