.gitignore added
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / stylelint / lib / rules / selector-pseudo-class-case / README.md
1 # selector-pseudo-class-case
2
3 Specify lowercase or uppercase for pseudo-class selectors.
4
5 ```css
6     a:hover {}
7 /**   ↑
8  * This is pseudo-class selector */
9 ```
10
11 ## Options
12
13 `string`: `"lower"|"upper"`
14
15 ### `"lower"`
16
17 The following patterns are considered violations:
18
19 ```css
20 a:Hover {}
21 ```
22
23 ```css
24 a:hOvEr {}
25 ```
26
27 ```css
28 a:HOVER {}
29 ```
30
31 ```css
32 :ROOT {}
33 ```
34
35 ```css
36 :-MS-INPUT-PLACEHOLDER {}
37 ```
38
39 The following patterns are *not* considered violations:
40
41 ```css
42 a:hover {}
43 ```
44
45 ```css
46 :root {}
47 ```
48
49 ```css
50 :-ms-input-placeholder {}
51 ```
52
53 ### `"upper"`
54
55 The following patterns are considered violations:
56
57 ```css
58 a:Hover {}
59 ```
60
61 ```css
62 a:hOvEr {}
63 ```
64
65 ```css
66 a:hover {}
67 ```
68
69 ```css
70 :root {}
71 ```
72
73 ```css
74 :-ms-input-placeholder {}
75 ```
76
77 The following patterns are *not* considered violations:
78
79 ```css
80 a:HOVER {}
81 ```
82
83 ```css
84 :ROOT {}
85 ```
86
87 ```css
88 :-MS-INPUT-PLACEHOLDER {}
89 ```