Created
April 10, 2013 09:56
-
-
Save ananthakumaran/5353333 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@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