|
4 | 4 | Use it like so: @media (--sm) { ... }
|
5 | 5 | ========================================================================== */
|
6 | 6 |
|
7 |
| -/* Use these if you are developing for desktop first and want to target lower resolutions (including) */ |
8 |
| - |
9 |
| -@custom-media --lte-xxs (width <= 20em); /* 320px */ |
10 |
| -@custom-media --lte-xs (width <= 30em); /* 480px */ |
11 |
| -@custom-media --lte-sm (width <= 48em); /* 768px */ |
12 |
| -@custom-media --lte-md (width <= 64em); /* 1024px */ |
13 |
| -@custom-media --lte-lg (width <= 80em); /* 1280px */ |
14 |
| -@custom-media --lte-xl (width <= 90em); /* 1440px */ |
15 |
| -@custom-media --lte-xxl (width <= 120em); /* 1920px */ |
16 |
| - |
17 |
| -/* Use these if you are developing for desktop first and want to target lower resolutions (not including) */ |
| 7 | +/* Use these if you are developing for desktop first and want to target lower resolutions */ |
18 | 8 |
|
19 | 9 | @custom-media --lt-xxs (width < 20em); /* 320px */
|
20 | 10 | @custom-media --lt-xs (width < 30em); /* 480px */
|
|
24 | 14 | @custom-media --lt-xl (width < 90em); /* 1440px */
|
25 | 15 | @custom-media --lt-xxl (width < 120em); /* 1920px */
|
26 | 16 |
|
27 |
| -/* Use these if you are developing for mobile first and want to target higher resolutions (including) */ |
| 17 | +/* Use these if you are developing for mobile first and want to target higher resolutions */ |
28 | 18 |
|
29 | 19 | @custom-media --gte-xxs (width >= 0); /* 0 */
|
30 | 20 | @custom-media --gte-xs (width >= 30em); /* 480px */
|
|
33 | 23 | @custom-media --gte-lg (width >= 80em); /* 1280px */
|
34 | 24 | @custom-media --gte-xl (width >= 90em); /* 1440px */
|
35 | 25 | @custom-media --gte-xxl (width >= 120em); /* 1920px */
|
36 |
| - |
37 |
| -/* Use these if you are developing for mobile first and want to target higher resolutions (not including) */ |
38 |
| - |
39 |
| -@custom-media --gt-xxs (width > 0); /* 0 */ |
40 |
| -@custom-media --gt-xs (width > 30em); /* 480px */ |
41 |
| -@custom-media --gt-sm (width > 48em); /* 768px */ |
42 |
| -@custom-media --gt-md (width > 64em); /* 1024px */ |
43 |
| -@custom-media --gt-lg (width > 80em); /* 1280px */ |
44 |
| -@custom-media --gt-xl (width > 90em); /* 1440px */ |
45 |
| -@custom-media --gt-xxl (width > 120em); /* 1920px */ |
0 commit comments