Skip to content

Instantly share code, notes, and snippets.

@Gaya
Created August 5, 2015 07:27
Show Gist options
  • Save Gaya/57da8023859953e9bbbf to your computer and use it in GitHub Desktop.
Save Gaya/57da8023859953e9bbbf to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// libsass (v3.2.5)
// ----
@mixin admin-bar {
$selector: &;
@at-root {
body.admin-bar {
#{$selector} {
@content;
}
}
}
}
.dit-is-een-selector {
@include admin-bar {
color: red;
}
}
body.admin-bar .dit-is-een-selector {
color: red;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment