Created
June 23, 2013 17:30
-
-
Save kerns/5845810 to your computer and use it in GitHub Desktop.
Combining Breakpoints in Bourbon/Neat's media mixin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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