Created
February 14, 2017 17:43
-
-
Save LoyEgor/3f6dbd4008b49235a0ad5be6ca762598 to your computer and use it in GitHub Desktop.
mixin for easier @media use
This file contains 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
@maxlg: ~"(max-width: 1199px)"; | |
@maxmd: ~"(max-width: 991px)"; | |
@maxsm: ~"(max-width: 767px)"; | |
@maxxs: ~"(max-width: 320px)"; | |
@minlg: ~"(min-width: 1200px)"; | |
@minmd: ~"(min-width: 992px)"; | |
@minsm: ~"(min-width: 768px)"; | |
@mdtolg: ~"(min-width: 992px) and (max-width: 1199px)"; | |
@smtomd: ~"(min-width: 768px) and (max-width: 991px)"; | |
@smtolg: ~"(min-width: 768px) and (max-width: 1199px)"; | |
@xstosm: ~"(min-width: 321px) and (max-width: 767px)"; | |
@xstomd: ~"(min-width: 321px) and (max-width: 991px)"; | |
@xstolg: ~"(min-width: 321px) and (max-width: 1199px)"; | |
// @media @maxxs { | |
// param: val; | |
// } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment