Created
May 15, 2013 12:21
-
-
Save bradvin/5583618 to your computer and use it in GitHub Desktop.
Font face hack
This file contains 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: 'myfont'; | |
src: url('fonts/myfont.eot#iefix'); | |
src: url('fonts/myfont.woff') format('woff'), | |
url('fonts/myfont.ttf') format('truetype'), | |
url('fonts/myfont.svg#myfont') format('svg'); | |
font-weight: normal; | |
font-style: normal; | |
} | |
@media screen and (-webkit-min-device-pixel-ratio:0) { | |
@font-face { | |
font-family: 'myfont'; | |
src:url('fonts/myfont.svg#myfont') format('svg'); | |
font-weight: normal; | |
font-style: normal; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment