Created
October 28, 2013 14:12
-
-
Save pascalduez/7197433 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) | |
// ---- | |
// @see https://github.com/Team-Sass/toolkit/issues/43 | |
@mixin enhance-with($feature) { | |
.#{$feature} & { | |
@content; | |
} | |
} | |
%silent { | |
@include enhance-with('svg') { | |
content: "svg"; | |
} | |
} | |
.parent { | |
.child { | |
@extend %silent; | |
} | |
} |
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
.svg .parent .child, .parent .svg .child { | |
content: "svg"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment