Skip to content

Instantly share code, notes, and snippets.

@yorkfx
Created May 19, 2013 19:16
Show Gist options
  • Save yorkfx/5608646 to your computer and use it in GitHub Desktop.
Save yorkfx/5608646 to your computer and use it in GitHub Desktop.
Renderizar fuentes web fonts en Google Chrome
@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.woff') format('woff'),
url('../../includes/fonts/chunk-webfont.ttf') format('truetype'),
url('../../includes/fonts/chunk-webfont.svg') format('svg');
font-weight: normal;
font-style: normal;
}
/* Hack Chrome Perfect Render */
@media screen and (-webkit-min-device-pixel-ratio:0) {
@font-face {
font-family: 'chunk-webfont';
src: url('../../includes/fonts/chunk-webfont.svg') format('svg');
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment