Skip to content

Instantly share code, notes, and snippets.

@aamortimer
Created July 21, 2013 15:01
Show Gist options
  • Save aamortimer/6048798 to your computer and use it in GitHub Desktop.
Save aamortimer/6048798 to your computer and use it in GitHub Desktop.
CSS: Breakpoints
@mixin breakpoint($point) {
@if $point == large {
@media (max-width: 1600px) { @content; }
}
@else if $point == medium {
@media (max-width: 1250px) { @content; }
}
@else if $point == small {
@media (max-width: 650px) { @content; }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment