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