Skip to content

Instantly share code, notes, and snippets.

@dewski
Created February 1, 2010 23:03
Show Gist options
  • Select an option

  • Save dewski/292144 to your computer and use it in GitHub Desktop.

Select an option

Save dewski/292144 to your computer and use it in GitHub Desktop.
// I write this
body.about #work, body.contact #work {
width: 500px;
}
// But to make it "LESS" style
body.about {
#work {
width: 500px;
}
}
body.contact {
#work {
width: 500px;
}
}
// I propose
body.about {
#work {
width: 500px;
}
}
body.contact {
#work (body.about #work)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment