Media Queries Breakpoints For Responsive Design In 2023
2023. 11. 1. 17:06ㆍSTUDY/etc
Using min-width
// Small devices (landscape phones, 576px and up)
@media (min-width: 576px) { ... }
// Medium devices (tablets, 768px and up)
@media (min-width: 768px) { ... }
// Large devices (desktops, 992px and up)
@media (min-width: 992px) { ... }
// Extra large devices (large desktops, 1200px and up)
@media (min-width: 1200px) { ... }
Using max-width
@media (max-width: 575.98px) { ... }
// Small devices (landscape phones, less than 768px)
@media (max-width: 767.98px) { ... }
// Medium devices (tablets, less than 992px)
@media (max-width: 991.98px) { ... }
// Large devices (desktops, less than 1200px)
@media (max-width: 1199.98px) { ... }
Devices
Mostly looked at Apple devices. While Android-based devices are important too, they have a lot of variances in most phones. I hope it’s not a big deal for you.
| Device Category | Breakpoint Width | Device Name |
| Mobile, portrait | 320px | iPhone SE |
| 375px | iPhone 6 to X | |
| 414px | iPhone 8 Plus | |
| Mobile, landscape | 568px | iPhone SE |
| 667px | iPhone 6 to 8 | |
| 736px | iPhone 8 Plus | |
| 812px | iPhone X | |
| Tablet, portrait | 768px | iPad Air, iPad Mini, iPad Pro 9″ |
| 834px | iPad Pro 10″ | |
| Tablet, landscape |
1024px | iPad Air, iPad Mini, iPad Pro 9″ |
| 1024px | iPad Pro 12″ (portrait) | |
| 1112px | iPad Pro 10″ | |
| Laptop displays |
1366px | HD laptops (768p) |
| 1366px | iPad Pro 12″ (landscape) | |
| 1440px | 13″ MacBook Pro (2x scaling) | |
| Desktop displays |
1680px | 13″ MacBook Pro (1.5x scaling) |
| 1920px | 1080p displays |
https://devfacts.com/media-queries-breakpoints-2023/
'STUDY > etc' 카테고리의 다른 글
| nvm-window proxy 설정 (0) | 2024.02.06 |
|---|---|
| npm (node package manager) (0) | 2024.01.26 |
| LocalStorage, SessionStorage, Cookie의 차이점 (0) | 2023.10.13 |
| 웹사이트를 뭘로 만들었는지 알 수 있게 해주는 크롬 확장 프로그램 Wappalyzer (0) | 2023.09.15 |
| 가이드 (0) | 2023.05.31 |