Last active
October 30, 2022 13:17
-
-
Save robabby/255898e499a47b0ce67f to your computer and use it in GitHub Desktop.
A comprehensive list of media queries forked from Bootstrap and Foundation frameworks
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
// Bootstrap | |
/* Custom, iPhone Retina */ | |
@media only screen and (min-width : 320px) { | |
} | |
/* Extra Small Devices, Phones */ | |
@media only screen and (min-width : 480px) { | |
} | |
/* Small Devices, Tablets */ | |
@media only screen and (min-width : 768px) { | |
} | |
/* Medium Devices, Desktops */ | |
@media only screen and (min-width : 992px) { | |
} | |
/* Large Devices, Wide Screens */ | |
@media only screen and (min-width : 1200px) { | |
} | |
// Foundation | |
// Small screens | |
@media only screen { } /* Define mobile styles */ | |
@media only screen and (max-width: 40em) { } /* max-width 640px, mobile-only styles, use when QAing mobile issues */ | |
// Medium screens | |
@media only screen and (min-width: 40.063em) { } /* min-width 641px, medium screens */ | |
@media only screen and (min-width: 40.063em) and (max-width: 64em) { } /* min-width 641px and max-width 1024px, use when QAing tablet-only issues */ | |
// Large screens | |
@media only screen and (min-width: 64.063em) { } /* min-width 1025px, large screens */ | |
@media only screen and (min-width: 64.063em) and (max-width: 90em) { } /* min-width 1025px and max-width 1440px, use when QAing large screen-only issues */ | |
// XLarge screens | |
@media only screen and (min-width: 90.063em) { } /* min-width 1441px, xlarge screens */ | |
@media only screen and (min-width: 90.063em) and (max-width: 120em) { } /* min-width 1441px and max-width 1920px, use when QAing xlarge screen-only issues */ | |
// XXLarge screens | |
@media only screen and (min-width: 120.063em) { } /* min-width 1921px, xxlarge screens */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment