Skip to content

Instantly share code, notes, and snippets.

@thomasthesecond
Created May 27, 2013 16:50
Show Gist options
  • Save thomasthesecond/5658054 to your computer and use it in GitHub Desktop.
Save thomasthesecond/5658054 to your computer and use it in GitHub Desktop.
@mixin breakpoint($breakpoint)
{
@if $breakpoint == tablet {
@media (max-width: $breakpoint-tablet) { @content; }
}
@else if $breakpoint == mobile {
@media (max-width: $breakpoint-mobile) { @content; }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment