Created
April 17, 2020 15:25
-
-
Save nicoandrade/9be23b88601c7e7a426369a59fb27fae to your computer and use it in GitHub Desktop.
Best Responsive CSS 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
/* Source: https://www.freecodecamp.org/news/the-100-correct-way-to-do-css-breakpoints-88d6a5ba1862/ */ | |
/* phone-only */ | |
@media (max-width: 599px) { | |
/* ... */ | |
} | |
/* tablet-portrait-only */ | |
@media (min-width: 599px) and (max-width: 899px) { | |
/* ... */ | |
} | |
/* tablet-landscape-only */ | |
@media (min-width: 900px) and (max-width: 1199px) { | |
/* ... */ | |
} | |
/* desktop-only */ | |
@media (min-width: 1200px) and (max-width: 1799px) { | |
/* ... */ | |
} | |
/* big-desktop-only */ | |
@media (min-width: 1800px) { | |
/* ... */ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment