Created
August 18, 2014 17:42
-
-
Save nicolechung/366fd7df07fd374dc2c9 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 (v2.0.0) | |
// ---- | |
/* Good nesting: only three levels deep */ | |
.foo { | |
.bar { | |
.baz { | |
color: red; | |
} | |
} | |
} | |
/* Bad nesting: more than three levels deep */ | |
.foo { | |
.bar { | |
.baz { | |
.fiz { | |
.buzz { | |
.duh { | |
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
/* Good nesting: only three levels deep */ | |
.foo .bar .baz { | |
color: red; } | |
/* Bad nesting: more than three levels deep */ | |
.foo .bar .baz .fiz .buzz .duh { | |
color: red; } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment