Skip to content

Instantly share code, notes, and snippets.

@ananthakumaran
Created April 10, 2013 09:56
Show Gist options
  • Save ananthakumaran/5353333 to your computer and use it in GitHub Desktop.
Save ananthakumaran/5353333 to your computer and use it in GitHub Desktop.
@mixin font-face($font-family, $filename) {
@font-face {
font-family: $font-family;
src: font-url("#{$filename}.eot");
src: font-url('#{$filename}.eot?#iefix') format('embedded-opentype'),
font-url('#{$filename}.svg##{$font-family}') format('svg'),
font-url('#{$filename}.woff') format('woff'),
font-url('#{$filename}.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment