Created
August 22, 2019 10:49
-
-
Save LiamChapman/77c1d7006e82e2cea96714a1349eb6b8 to your computer and use it in GitHub Desktop.
Breakpoint Mixin SCSS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @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