Skip to content

Instantly share code, notes, and snippets.

@apfelbox
Created March 20, 2014 16:45
Show Gist options
  • Save apfelbox/9668322 to your computer and use it in GitHub Desktop.
Save apfelbox/9668322 to your computer and use it in GitHub Desktop.
Weird behaviour of `@extend` with `%` placeholder selectors.
@import "inc";
.imp1 {
@extend %test;
}
@import "inc";
.imp2 {
@extend %test;
}
@import "inc";
.imp3 {
@extend %test;
}
%test {
color: red;
}
.imp1, .imp2, .imp3 {
color: red; }
.imp1, .imp2, .imp3 {
color: red; }
.imp1, .imp2, .imp3 {
color: red; }
@import "imp1";
@import "imp2";
@import "imp3";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment