Created
February 22, 2013 15:06
-
-
Save gooberling/5014051 to your computer and use it in GitHub Desktop.
Breakpoint 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
@mixin breakpoint($max, $min:'') | |
@if ($min!='') | |
@media only screen and (min-width: $min) and (max-width: $max) { @content; } | |
@else | |
@media only screen and (max-width: $max) { @content; } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment