Created
November 18, 2014 13:57
-
-
Save nucliweb/5827f9d81b96bc8fc3b4 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.7) | |
// Compass (v1.0.1) | |
// ---- | |
@mixin iconfont { | |
position: absolute; | |
top: -5px; | |
font-family: 'Icons'; | |
speak: none; | |
font-style: normal; | |
font-weight: normal; | |
font-variant: normal; | |
text-transform: none; | |
line-height: 1; | |
left: 0; | |
/* Better Font Rendering =========== */ | |
-webkit-font-smoothing: antialiased; | |
-moz-osx-font-smoothing: grayscale; | |
} | |
@mixin norbert($features, $supports) { | |
#{$placeholder} & { | |
@content; | |
} | |
@at-root #{$selector} { | |
@extend #{$placeholder}; | |
} | |
} | |
[class^="iconfont-"]:before, | |
[class*=" iconfont-"]:before { | |
@include iconfont; | |
} | |
[class^="iconfont-"]:before, | |
[class*=" iconfont-"]:before { | |
@at-root .btn#{&} { | |
position: relative; | |
top: 0; | |
} | |
} |
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
[class^="iconfont-"]:before, | |
[class*=" iconfont-"]:before { | |
position: absolute; | |
top: -5px; | |
font-family: 'Icons'; | |
speak: none; | |
font-style: normal; | |
font-weight: normal; | |
font-variant: normal; | |
text-transform: none; | |
line-height: 1; | |
left: 0; | |
/* Better Font Rendering =========== */ | |
-webkit-font-smoothing: antialiased; | |
-moz-osx-font-smoothing: grayscale; | |
} | |
.btn[class^="iconfont-"]:before, [class*=" iconfont-"]:before { | |
position: relative; | |
top: 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment