Created
August 9, 2018 15:53
-
-
Save Joe1220/eadf47abf2b27551fd389fbc3e0bf2ad to your computer and use it in GitHub Desktop.
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($breakpoint) { | |
| @if $breakpoint == "iphone" { | |
| @media (min-width: 320px) { | |
| @content; | |
| } | |
| } | |
| @else if $breakpoint == "mobile" { | |
| @media (min-width: 480px) { | |
| @content; | |
| } | |
| } | |
| @else if $breakpoint == "tablet" { | |
| @media (min-width: 768px) { | |
| @content; | |
| } | |
| } | |
| @else if $breakpoint == "laptop" { | |
| @media (min-width: 992px) { | |
| @content; | |
| } | |
| } | |
| @else if $breakpoint == "desktop" { | |
| @media (min-width: 1200px) { | |
| @content; | |
| } | |
| } | |
| } | |
| @mixin boxBorder($radius) { | |
| border: 1px solid #e6e6e6; | |
| background-color: white; | |
| @if $radius == yes { | |
| border-radius: 3px; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment