Skip to content

Instantly share code, notes, and snippets.

@LiamChapman
Created August 22, 2019 10:49
Show Gist options
  • Select an option

  • Save LiamChapman/77c1d7006e82e2cea96714a1349eb6b8 to your computer and use it in GitHub Desktop.

Select an option

Save LiamChapman/77c1d7006e82e2cea96714a1349eb6b8 to your computer and use it in GitHub Desktop.
Breakpoint Mixin SCSS
@mixin breakpoint($minWidth) {
@media screen and (min-width: $minWidth) {
@content;
}
}
// @include breakpoint(650px) { width: 50%; }
// etc..
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment