Created
February 3, 2015 00:34
-
-
Save rcaracaus/b84c1fd9771f89c3c9bc 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="featured-palette-parent"> | |
<div class="">asdf</div> | |
</div> | |
<div class=""> | |
<div class="featured-palette-child">asdf</div> | |
</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.11) | |
// Compass (v1.0.3) | |
// ---- | |
.featured-palette-parent { | |
> :nth-child(1) { | |
background: red; | |
} | |
} | |
.featured-palette-child { | |
&:nth-child(1) { | |
background: blue; | |
} | |
} |
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
.featured-palette-parent > :nth-child(1) { | |
background: red; | |
} | |
.featured-palette-child:nth-child(1) { | |
background: blue; | |
} |
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="featured-palette-parent"> | |
<div class="">asdf</div> | |
</div> | |
<div class=""> | |
<div class="featured-palette-child">asdf</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment