Created
October 30, 2017 22:51
-
-
Save isaacdanielanderson/ba8ae332757380cd8cf0ae621507cb5b to your computer and use it in GitHub Desktop.
Bootstrap 4 breakpoints SASS mixins
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
// ============= MIXINS ============== // | |
// Extra small devices (portrait phones, less than 576px) | |
@mixin atSmall { | |
@media (min-width: 576px) { | |
@content; | |
} | |
} | |
@mixin atMedium { | |
@media (min-width: 768px) { | |
@content; | |
} | |
} | |
@mixin atLarge { | |
@media (min-width: 992px) { | |
@content; | |
} | |
} | |
@mixin atXLarge { | |
@media (min-width: 1200px) { | |
@content; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment