Skip to content

Instantly share code, notes, and snippets.

@leohxj
Created August 19, 2013 00:55
Show Gist options
  • Save leohxj/6264941 to your computer and use it in GitHub Desktop.
Save leohxj/6264941 to your computer and use it in GitHub Desktop.
CSS加载字体
@font-face {
font-family: 'FontName';
src: url('fonts/FontName.eot?#iefix') format('embedded-opentype'),
url('fonts/FontName.woff') format('woff'),
url('fonts/FontName.ttf') format('truetype'),
url('fonts/FontName.svg#FontName') 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