Skip to content

Instantly share code, notes, and snippets.

@scottkellum
Created October 20, 2014 12:06
Show Gist options
  • Save scottkellum/a31765281413bde89032 to your computer and use it in GitHub Desktop.
Save scottkellum/a31765281413bde89032 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// 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}';
}
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