Forked from awestmoreland/base64-web-font-embed-code
Last active
August 29, 2015 14:17
-
-
Save hackhowtofaq/0ce4af34abeaf6a7eb8c to your computer and use it in GitHub Desktop.
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('embedded-opentype'); | |
} | |
@font-face { | |
font-family: 'MyFontFamily'; | |
url(data:font/truetype;charset=utf-8;base64,BASE64_ENCODED_DATA_HERE) format('truetype'), | |
url(data:font/woff;charset=utf-8;base64,BASE64_ENCODED_DATA_HERE) format('woff'), | |
url('myfont-webfont.svg#svgFontName') format('svg'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment