Skip to content

Instantly share code, notes, and snippets.

@gooberling
Created February 22, 2013 15:06
Show Gist options
  • Save gooberling/5014051 to your computer and use it in GitHub Desktop.
Save gooberling/5014051 to your computer and use it in GitHub Desktop.
Breakpoint mixin
@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