Skip to content

Instantly share code, notes, and snippets.

@ltackett
Forked from gnrlbzik/gist:887612
Created March 25, 2011 21:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ltackett/887634 to your computer and use it in GitHub Desktop.
Save ltackett/887634 to your computer and use it in GitHub Desktop.
// This keeps things organized with the indentation you want
#dashboard-content {
/*rule:value;*/
&.my-account-v2 {
/*rule:value;*/
.page { /*rule:value;*/ }
.inner { /*rule:value;*/ }
.inbox-sidebar { /*rule:value;*/ } } }
.inbox-sidebar {
/*rule:value;*/
h1 { /*rule:value;*/ }
a { /*rule:value;*/
&.current { /*rule:value;*/ } } }
// ... and emits the following CSS
#dashboard-content {
/*rule:value;*/ }
#dashboard-content.my-account-v2 {
/*rule:value;*/ }
#dashboard-content.my-account-v2 .page {
/*rule:value;*/ }
#dashboard-content.my-account-v2 .inner {
/*rule:value;*/ }
#dashboard-content.my-account-v2 .inbox-sidebar {
/*rule:value;*/ }
.inbox-sidebar {
/*rule:value;*/ }
.inbox-sidebar h1 {
/*rule:value;*/ }
.inbox-sidebar a {
/*rule:value;*/ }
.inbox-sidebar a.current {
/*rule:value;*/ }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment