Created
May 22, 2015 16:41
-
-
Save antonkor/33370eda4621548d178b 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
// ---- | |
// libsass (v3.2.4) | |
// ---- | |
/* Nesting is real */ | |
.parent { | |
color: red; | |
.nested-child { | |
color: green; | |
&.compound { | |
color: blue; | |
} | |
} | |
.grandparent & { | |
color: grey; | |
&.dad { | |
color: darkblue; | |
.ancestor & { | |
color: sepia; | |
} | |
.ancestor.compound & { | |
color: lightgray; | |
} | |
} | |
.child { | |
color: samon; | |
&.compound { | |
color: purple; | |
} | |
} | |
} | |
} |
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
/* Nesting is real */ | |
.parent { | |
color: red; | |
} | |
.parent .nested-child { | |
color: green; | |
} | |
.parent .nested-child.compound { | |
color: blue; | |
} | |
.grandparent .parent { | |
color: grey; | |
} | |
.grandparent .parent.dad { | |
color: darkblue; | |
} | |
.ancestor .grandparent .parent.dad { | |
color: sepia; | |
} | |
.ancestor.compound .grandparent .parent.dad { | |
color: lightgray; | |
} | |
.grandparent .parent .child { | |
color: samon; | |
} | |
.grandparent .parent .child.compound { | |
color: purple; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment