Skip to content

Instantly share code, notes, and snippets.

@devdays
Created December 19, 2014 07:10
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 devdays/5338c341f16dd5b68e2b to your computer and use it in GitHub Desktop.
Save devdays/5338c341f16dd5b68e2b to your computer and use it in GitHub Desktop.
CSS3 Custom Font fix
@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