.gitignore added
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / stylelint / lib / rules / media-feature-name-case / README.md
1 # media-feature-name-case
2
3 Specify lowercase or uppercase for media feature names.
4
5 ```css
6 @media (min-width: 700px) {}
7 /**     ↑
8  * These media feature names */
9 ```
10
11 **Caveat:** Media feature names within a range context are currently ignored.
12
13 ## Options
14
15 `string`: `"lower"|"upper"`
16
17 ### `"lower"`
18
19 The following patterns are considered violations:
20
21 ```css
22 @media (MIN-WIDTH: 700px) {}
23 ```
24
25 ```css
26 @media not all and (MONOCHROME) {}
27 ```
28
29 ```css
30 @media (min-width: 700px) and (ORIENTATION: landscape) {}
31 ```
32
33 The following patterns are *not* considered violations:
34
35 ```css
36 @media (min-width: 700px) {}
37 ```
38
39 ```css
40 @media not all and (monochrome) {}
41 ```
42
43 ```css
44 @media (min-width: 700px) and (orientation: landscape) {}
45 ```
46
47 ### `"upper"`
48
49 The following patterns are considered violations:
50
51 ```css
52 @media (min-width: 700px) {}
53 ```
54
55 ```css
56 @media not all and (monochrome) {}
57 ```
58
59 ```css
60 @media (MIN-WIDTH: 700px) and (orientation: landscape) {}
61 ```
62
63 The following patterns are *not* considered violations:
64
65 ```css
66 @media (MIN-WIDTH: 700px) {}
67 ```
68
69 ```css
70 @media not all and (MONOCHROME) {}
71 ```
72
73 ```css
74 @media (MIN-WIDTH: 700px) and (ORIENTATION: landscape) {}
75 ```