Skip to content

Instantly share code, notes, and snippets.

@Scemist
Last active May 2, 2022 14:21
Show Gist options
  • Save Scemist/7a96da9316d9d41d7caa67f19033e182 to your computer and use it in GitHub Desktop.
Save Scemist/7a96da9316d9d41d7caa67f19033e182 to your computer and use it in GitHub Desktop.
CSS Media Query Breakpoints
/* 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