Skip to content

Instantly share code, notes, and snippets.

@symmetriq
Last active August 29, 2015 14:10
Show Gist options
  • Save symmetriq/80924b83dce770c35316 to your computer and use it in GitHub Desktop.
Save symmetriq/80924b83dce770c35316 to your computer and use it in GitHub Desktop.
SASS/LESS — adjacent rules for multiple selectors
a,
button {
+ a,
+ button {
margin-left: 5px;
}
}
a + a,
a + button,
button + a,
button + button {
margin-left: 5px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment