Skip to content

Instantly share code, notes, and snippets.

@cfarm
Created November 11, 2013 23:54
Show Gist options
  • Save cfarm/7422753 to your computer and use it in GitHub Desktop.
Save cfarm/7422753 to your computer and use it in GitHub Desktop.
Basic Mixin for Media Queries
@mixin breakpoint($screenWidth: 400px) {
// output the mixin content inside of a media query
@media screen and (min-width: $screenWidth) { @content; }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment