Created
August 22, 2021 07:37
-
-
Save gtchakama/f7667dccdb9e6523345562d19965af0c to your computer and use it in GitHub Desktop.
Typical Device Breakpoints.
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
| /* Extra small devices (phones, 600px and down) */ | |
| @media only screen and (max-width: 600px) {...} | |
| /* Small devices (portrait tablets and large phones, 600px and up) */ | |
| @media only screen and (min-width: 600px) {...} | |
| /* Medium devices (landscape tablets, 768px and up) */ | |
| @media only screen and (min-width: 768px) {...} | |
| /* Large devices (laptops/desktops, 992px and up) */ | |
| @media only screen and (min-width: 992px) {...} | |
| /* Extra large devices (large laptops and desktops, 1200px and up) */ | |
| @media only screen and (min-width: 1200px) {...} |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Typical Device Breakpoints.
There are tons of screens and devices with different heights and widths, so it is hard to create an exact breakpoint for each device. To keep things simple you could target five groups.