Created
May 7, 2013 15:03
-
-
Save wolves/5533309 to your computer and use it in GitHub Desktop.
An embed loop for embedding all of the @font-face font that you want
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
@each $font-face in font-1, font-2 { | |
@font-face { | |
font-family: $font-face; font-style: normal; font-weight: normal; | |
src: url('#{$font-face}.eot'); | |
src: url('#{$font-face}.eot?') format('eot'), | |
url('#{$font-face}.woff') format('woff'), | |
url('#{$font-face}.ttf') format('truetype'); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment