Created
September 9, 2014 14:39
-
-
Save anselmh/13528273742fdbdd4ead to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
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
<div class="selector"> | |
Hello World. Should be black | |
<p class="test"> | |
This should be black. | |
</p> | |
</div> | |
<div class="selector test"> | |
This should be red. | |
</div> |
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
// ---- | |
// Sass (v3.4.3) | |
// Compass (v1.0.1) | |
// ---- | |
.selector { | |
color: black; | |
&[class*="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
.selector { | |
color: black; | |
} | |
.selector[class*="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
<div class="selector"> | |
Hello World. Should be black | |
<p class="test"> | |
This should be black. | |
</p> | |
</div> | |
<div class="selector test"> | |
This should be red. | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment