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) { ... }
1/* Large desktops and laptops */
2@media (min-width: 1200px) {
3
4}
5
6/* Landscape tablets and medium desktops */
7@media (min-width: 992px) and (max-width: 1199px) {
8
9}
10
11/* Portrait tablets and small desktops */
12@media (min-width: 768px) and (max-width: 991px) {
13
14}
15
16/* Landscape phones and portrait tablets */
17@media (max-width: 767px) {
18
19}
20
21/* Portrait phones and smaller */
22@media (max-width: 480px) {
23
24}
25
1// Extra small devices (portrait phones, less than 576px)
2// No media query for `xs` since this is the default in Bootstrap
3
4// Small devices (landscape phones, 576px and up)
5@media (min-width: 576px) { ... }
6
7// Medium devices (tablets, 768px and up)
8@media (min-width: 768px) { ... }
9
10// Large devices (desktops, 992px and up)
11@media (min-width: 992px) { ... }
12
13// Extra large devices (large desktops, 1200px and up)
14@media (min-width: 1200px) { ... }
1/* Answer to: "bootstrap media queries" */
2
3/*
4 Since Bootstrap is developed to be mobile first, the use a handful
5 of media queries to create sensible breakpoints for their layouts
6 and interfaces. These breakpoints are mostly based on minimum
7 viewport widths and allow scaling up elements as the viewport
8 changes.
9
10 Bootstrap primarily uses the following media query ranges—or
11 breakpoints—in their source Sass files for their layout, grid system,
12 and components.
13*/
14
15/* Extra small devices (portrait phones, less than 576px) */
16/* No media query for `xs` since this is the default in Bootstrap */`32`
17
18/* Small devices (landscape phones, 576px and up) */
19@media (min-width: 576px) { ... }
20
21/* Medium devices (tablets, 768px and up) */
22@media (min-width: 768px) { ... }
23
24/* Large devices (desktops, 992px and up) */
25@media (min-width: 992px) { ... }
26
27/* Extra large devices (large desktops, 1200px and up) */
28@media (min-width: 1200px) { ... }
1// Extra small devices (portrait phones, less than 576px)
2// No media query since this is the default in Bootstrap
3
4// Small devices (landscape phones, 576px and up)
5@media (min-width: 576px) { ... }
6
7// Medium devices (tablets, 768px and up)
8@media (min-width: 768px) { ... }
9
10// Large devices (desktops, 992px and up)
11@media (min-width: 992px) { ... }
12
13// Extra large devices (large desktops, 1200px and up)
14@media (min-width: 1200px) { ... }
1//these are the media queries used by bootstrap
2/* Large desktops and laptops */
3@media (min-width: 1200px) {
4
5}
6
7/* Landscape tablets and medium desktops */
8@media (min-width: 992px) and (max-width: 1199px) {
9
10}
11
12/* Portrait tablets and small desktops */
13@media (min-width: 768px) and (max-width: 991px) {
14
15}
16
17/* Landscape phones and portrait tablets */
18@media (max-width: 767px) {
19
20}
21
22/* Portrait phones and smaller */
23@media (max-width: 480px) {
24
25}