Created
March 6, 2019 17:26
-
-
Save hagata/ed85736b416f278299998a9c8ef335fa to your computer and use it in GitHub Desktop.
This file contains hidden or 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-family($name) { | |
| @font-face { | |
| font-family: #{$name}; | |
| src:url("./Fonts/#{$name}.otf"); | |
| src:url("/Static/Core/Fonts/#{$name}.eot"); | |
| src:url("/Static/Core/Fonts/#{$name}.eot?#iefix") format("embedded-opentype"), | |
| url("/Static/Core/Fonts/#{$name}.woff") format("woff"), | |
| url("/Static/Core/Fonts/#{$name}.ttf") format("truetype"); | |
| font-weight: normal; //optionally add in the default font styles | |
| font-style: normal; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment