Last active
May 2, 2022 14:21
-
-
Save Scemist/7a96da9316d9d41d7caa67f19033e182 to your computer and use it in GitHub Desktop.
CSS Media Query Breakpoints
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
/* Portrait Phones, less than 576px */ | |
@media (max-width: 575px) | |
/* Landscape Phones, 576px and up */ | |
@media (min-width: 576px) | |
/* Tablets, 768px and up */ | |
@media (min-width: 768px) | |
/* Desktops, 992px and up */ | |
@media (min-width: 992px) | |
/* Large desktops, 1200px and up */ | |
@media (min-width: 1200px) | |
/* Larger desktops, 1400px and up */ | |
@media (min-width: 1400px) | |
/* Based on Bootstrap | |
* https://getbootstrap.com/docs/5.1/layout/breakpoints/ | |
* | |
* With metatag | |
* <meta name="viewport" content="width=device-width, initial-scale=1"> | |
* | |
* Respectively: xs sm md lg ex xxl | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment