Created
January 7, 2014 10:35
-
-
Save matthew-andrews/8297598 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.3.0.rc.1) | |
// Compass (v0.13.alpha.10) | |
// ---- | |
$use-silent-classes-only: false!default; | |
@mixin class($class-name) { | |
@if ($use-silent-classes-only == true) { | |
%#{$class-name} { | |
@content | |
} | |
} @else { | |
%#{$class-name}, | |
.#{$class-name} { | |
@content | |
} | |
} | |
} | |
@include class(o-grid-something) { | |
font-weight: bold; | |
} | |
// PRODUCT CSS | |
.even-faster-ft { | |
@extend %o-grid-something; | |
} |
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
.even-faster-ft, | |
.o-grid-something { | |
font-weight: bold; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment