Created
November 4, 2011 19:21
-
-
Save paul-english/1340239 to your computer and use it in GitHub Desktop.
SCSS font-face mixin
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, $url) { | |
@font-face { | |
font-family: '#{$font-family}'; | |
src: url('#{$url}.eot?') format('eot'), url('#{$url}.woff') format('woff'), url('#{$url}.ttf') format('truetype'); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment