Created
February 4, 2011 17:09
-
-
Save jwlawrence/811383 to your computer and use it in GitHub Desktop.
@font-face embed 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
| @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'); | |
| } |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@font-face embed suggested by this post: http://www.fontspring.com/blog/the-new-bulletproof-font-face-syntax