bootstrap breakpoints xxl code example
Example 1: bootstrap media query breakpoints
// Extra small devices (portrait phones, less than 576px)
@media (max-width: 575.98px) { ... }
// Small devices (landscape phones, 576px and up)
@media (min-width: 576px) and (max-width: 767.98px) { ... }
// Medium devices (tablets, 768px and up)
@media (min-width: 768px) and (max-width: 991.98px) { ... }
// Large devices (desktops, 992px and up)
@media (min-width: 992px) and (max-width: 1199.98px) { ... }
// Extra large devices (large desktops, 1200px and up)
@media (min-width: 1200px) { ... }
Example 2: bootstrap breakpoints
####### Bootstrap 5 Breakpoints #######
Breakpoint Class infix Dimensions
X-Small None <576px
Small sm >=576px
Medium md >=768px
Large lg >=992px
Extra large xl >=1200px
Extra extra large xxl >=1400px