Created
June 19, 2014 20:15
-
-
Save cfree/da166d1f89751baa1dbf 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.8) | |
// Compass (v1.0.0.alpha.19) | |
// ---- | |
/* Prints the info once, but adds classes that are extending */ | |
%awesome-class { | |
display: inline-block; | |
margin: 0; | |
z-index: 100; | |
} | |
@mixin awesome-mixin { | |
display: block; | |
margin: 15px; | |
z-index: 200; | |
} | |
.awesome-class-beta { | |
@extend %awesome-class; | |
} | |
.awesome-class-charlie { | |
@extend %awesome-class; | |
} | |
/* Prints the same info in two places, bloat */ | |
.awesome-class-delta { | |
@include awesome-mixin; | |
} | |
.awesome-class-echo { | |
@include awesome-mixin; | |
} |
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
/* Prints the info once, but adds classes that are extending */ | |
.awesome-class-beta, .awesome-class-charlie { | |
display: inline-block; | |
margin: 0; | |
z-index: 100; | |
} | |
/* Prints the same info in two places, bloat */ | |
.awesome-class-delta { | |
display: block; | |
margin: 15px; | |
z-index: 200; | |
} | |
.awesome-class-echo { | |
display: block; | |
margin: 15px; | |
z-index: 200; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment