Created
March 18, 2014 13:26
-
-
Save Rplus/9619972 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
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
// ---- | |
// Sass (v3.3.3) | |
// Compass (v1.0.0.alpha.18) | |
// ---- | |
@import "compass/css3"; | |
@mixin lazy-font($font-name, $font-path, $fw: normal, $fs: normal) { | |
@include font-face($font-name, | |
font-files($font-path + ".ttf", $font-path + ".otf"), | |
$font-path + ".eot", | |
$fw, | |
$fs | |
); | |
} | |
@include lazy-font('Nexa', "font/gg", bold); | |
@include lazy-font('Nexa', "font/gg-i", normal, italic); |
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
@font-face { | |
font-family: "Nexa"; | |
src: url('/fonts/font/gg.eot'); | |
src: url('/fonts/font/gg.eot?#iefix') format('embedded-opentype'), url('/fonts/font/gg.ttf') format('truetype'), url('/fonts/font/gg.otf') format('opentype'); | |
font-weight: bold; | |
font-style: normal; | |
} | |
@font-face { | |
font-family: "Nexa"; | |
src: url('/fonts/font/gg-i.eot'); | |
src: url('/fonts/font/gg-i.eot?#iefix') format('embedded-opentype'), url('/fonts/font/gg-i.ttf') format('truetype'), url('/fonts/font/gg-i.otf') format('opentype'); | |
font-weight: normal; | |
font-style: italic; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
sassmaster 存檔測試