Skip to content

Instantly share code, notes, and snippets.

@nicohq
Forked from atatos/font-face
Last active December 19, 2015 11:59
Show Gist options
  • Save nicohq/5951975 to your computer and use it in GitHub Desktop.
Save nicohq/5951975 to your computer and use it in GitHub Desktop.
@font-face {
font-family: 'MyWebFont';
src: local('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