Skip to content

Instantly share code, notes, and snippets.

@jlittlejohn
Created March 5, 2013 15:12
Show Gist options
  • Save jlittlejohn/5090968 to your computer and use it in GitHub Desktop.
Save jlittlejohn/5090968 to your computer and use it in GitHub Desktop.
SCSS: @font-face Declaration
// Font Name
@font-face {
font-family: 'Font Name';
src: url('/assets/fonts/Font-Name.eot');
src: url('/assets/fonts/Font-Name.eot?#iefix') format('embedded-opentype'),
url('/assets/fonts/Font-Name.woff') format('woff'),
url('/assets/fonts/Font-Name.ttf') format('truetype'),
url('/assets/fonts/Font-Name.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