Skip to content

Instantly share code, notes, and snippets.

@cloudhead
Created February 28, 2010 17:59
Show Gist options
  • Save cloudhead/317703 to your computer and use it in GitHub Desktop.
Save cloudhead/317703 to your computer and use it in GitHub Desktop.
// less
foo, bar {
color: black;
lol, &:cat {
font: none;
> a, b {
color: red;
}
}
}
// css (generated with less.js)
foo, bar {
color: black;
}
foo lol,
bar lol,
foo:cat,
bar:cat {
font: none;
}
foo lol > a,
bar lol > a,
foo:cat > a,
bar:cat > a,
foo lol b,
bar lol b,
foo:cat b,
bar:cat b {
color: red;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment