Created
October 20, 2014 12:06
-
-
Save scottkellum/a31765281413bde89032 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.4.6) | |
// Compass (v1.0.1) | |
// ---- | |
$debug: null !default; | |
.foo, .bar, .doh { | |
// get-context() => ".foo, .bar, .doh" | |
&.active { | |
// get-context() => ".foo.active, .bar.active, doh.active" | |
} | |
&.active:hover { | |
// get-context() => ".foo.active:hover, .bar.active:hover, doh.active:hover" | |
span { | |
$debug: & !global; | |
// get-context() => ".foo.active:hover, .bar.active:hover, doh.active:hover", "span" | |
} | |
} | |
} | |
body:before { | |
content: '#{$debug}'; | |
} |
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
body:before { | |
content: ".foo.active:hover span, .bar.active:hover span, .doh.active:hover span"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment