1// Extra small devices (portrait phones, less than 576px)
2@media (max-width: 575.98px) { ... }
3
4// Small devices (landscape phones, 576px and up)
5@media (min-width: 576px) and (max-width: 767.98px) { ... }
6
7// Medium devices (tablets, 768px and up)
8@media (min-width: 768px) and (max-width: 991.98px) { ... }
9
10// Large devices (desktops, 992px and up)
11@media (min-width: 992px) and (max-width: 1199.98px) { ... }
12
13// Extra large devices (large desktops, 1200px and up)
14@media (min-width: 1200px) { ... }
1The Bootstrap grid system has four classes:
2xs (for phones - screens less than 768px wide)
3sm (for tablets - screens equal to or greater than 768px wide)
4md (for small laptops - screens equal to or greater than 992px wide)
5lg (for laptops and desktops - screens equal to or greater than 1200px wide)