Skip to content

Instantly share code, notes, and snippets.

@plavet
Created May 23, 2012 01:15
Show Gist options
  • Save plavet/2772700 to your computer and use it in GitHub Desktop.
Save plavet/2772700 to your computer and use it in GitHub Desktop.
CSS - Font replace
@font-face
{
font-family: text;
src: url('../fonts/somefont.ttf'),
url('../fonts/somefont.eot') format("opentype"); /* IE */
}
@font-face
{
font-family: text;
src: url('../fonts/somefont.ttf'),
url('../fonts/somefont.eot') format("opentype"); /* IE */
font-weight:bold;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment