Skip to content

Instantly share code, notes, and snippets.

@kerns
Created June 23, 2013 17:30
Show Gist options
  • Save kerns/5845810 to your computer and use it in GitHub Desktop.
Save kerns/5845810 to your computer and use it in GitHub Desktop.
Combining Breakpoints in Bourbon/Neat's media mixin
In a nut shell... it would be nice if instead of
@include media ($tablet) {
text-align: right;
}
@include media ($desktop) {
text-align: right;
}
...we could just write
@include media ($tablet, $desktop) {
text-align: right;
}
---
This is a dead simple example,...but it could save a great deal of repetition.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment