Grid system breakpoints
웹 페이지를 다양한 화면 크기에서 적절하게 배치하기 위한 분기점
화면 너비에 따라 6개의 분기점을 제공한다
(xs, sm, md, lg, xl, xxl)
각 breakpoints마다 설정된 최대 너비값 "이상으로" 화면이 커지면
grid system 동작이 변경된다.
// X-Small devices (portrait phones, less than 576px)
@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) { ... }
// X-Large devices (large desktops, less than 1400px)
@media (max-width: 1399.98px) { ... }
// XX-Large devices (larger desktops)
// No media query since the xxl breakpoint has no upper bound on its width
* 부트스트랩 공식문서 확인
https://getbootstrap.com/docs/5.0/layout/breakpoints/
Breakpoints
Breakpoints are customizable widths that determine how your responsive layout behaves across device or viewport sizes in Bootstrap.
getbootstrap.com
'WEB > CSS_구획 나누기 (Grid System,Float System)' 카테고리의 다른 글
[Grid] breakpoints _ sm (≥576px) (0) | 2024.03.11 |
---|---|
[Grid] breakpoints _ xs (< 576px) (0) | 2024.03.11 |
[Grid] Responsive Web Design (0) | 2024.03.11 |
[Grid] Grid System의 정의 (0) | 2024.03.11 |
[Grid] Grid System _ Gutters (여백 공간) (0) | 2024.03.11 |