Created
November 1, 2015 17:57
-
-
Save andreasisaak/dd37bfaeb95c78131eda to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
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
// ---- | |
// Sass (v3.4.14) | |
// Compass (v1.0.3) | |
// ---- | |
@mixin font-face($family, $path, $weight: null, $style: null, $file-formats: eot woff2 woff ttf svg, $version: uN2iAj0, $local...) { | |
$src: null; | |
@font-face { | |
font-family: quote($family); | |
font-style: $style; | |
font-weight: $weight; | |
src: url("#{$path}.eot?v=#{$version}"); | |
src: font-src($family, $path, $file-formats, $version); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment