Skip to content

Instantly share code, notes, and snippets.

@alkrauss48
Created June 4, 2014 15:12
Show Gist options
  • Save alkrauss48/8b36e4aad8a00b871a2e to your computer and use it in GitHub Desktop.
Save alkrauss48/8b36e4aad8a00b871a2e to your computer and use it in GitHub Desktop.
Proper font face format for maximum browser support
@font-face {
font-family: 'MyWebFont';
src: url('webfont.eot'); /* IE9 Compat Modes */
src: url('webfont.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('webfont.woff') format('woff'), /* Modern Browsers */
url('webfont.ttf') format('truetype'), /* Safari, Android, iOS */
url('webfont.svg#svgFontName') format('svg'); /* Legacy iOS */
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment