Created
June 16, 2014 05:47
-
-
Save is8r/1666d0ca173041b02834 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
.xxx | |
+fontface('xxx', 'xxx/xxx-webfont') | |
font-family: 'xxx' |
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
=fontface($name, $path, $weight: normal, $style: normal) | |
font-family: $name | |
src: url('#{$path}.eot') | |
src: url('#{$path}.eot?#iefix') format("embedded-opentype"), url('#{$path}.woff') format("woff"), url('#{$path}.ttf') format("truetype") | |
font-weight: $weight | |
font-style: $style |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
パスの末尾に「-webfont」がついてるのはこれで変換してるから
http://www.fontsquirrel.com/tools/webfont-generator