Skip to content

Instantly share code, notes, and snippets.

@nucliweb
Created November 18, 2014 13:57
Show Gist options
  • Save nucliweb/5827f9d81b96bc8fc3b4 to your computer and use it in GitHub Desktop.
Save nucliweb/5827f9d81b96bc8fc3b4 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// 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;
}
}
[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