Created
June 4, 2014 09:23
-
-
Save jbutko/c3f2047364e5ca420103 to your computer and use it in GitHub Desktop.
CSS: Font smoothing in Chrome
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: 'chunk-webfont'; | |
src: url('../../includes/fonts/chunk-webfont.eot'); | |
src: url('../../includes/fonts/chunk-webfont.eot?#iefix') format('eot'), | |
url('../../includes/fonts/chunk-webfont.svg') format('svg'), | |
url('../../includes/fonts/chunk-webfont.woff') format('woff'), | |
url('../../includes/fonts/chunk-webfont.ttf') format('truetype'); | |
font-weight: normal; | |
font-style: normal; | |
} | |
@media screen and (-webkit-min-device-pixel-ratio:0) { | |
@font-face { | |
font-family: 'chunk-webfont'; | |
src: url('../../includes/fonts/chunk-webfont.svg') format('svg'); | |
} | |
} | |
/* SVG goes before woff! | |
From http://stackoverflow.com/questions/11487427/is-there-any-font-smoothing-in-google-chrome */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment