.gitignore added
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / stylelint / lib / rules / selector-pseudo-element-case / README.md
1 # selector-pseudo-element-case
2
3 Specify lowercase or uppercase for pseudo-element selectors.
4
5 ```css
6     a::before {}
7 /**    ↑
8  * This is pseudo-element 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:Before {}
21 ```
22
23 ```css
24 a:bEfOrE {}
25 ```
26
27 ```css
28 a:BEFORE {}
29 ```
30
31 ```css
32 a::Before {}
33 ```
34
35 ```css
36 a::bEfOrE {}
37 ```
38
39 ```css
40 a::BEFORE {}
41 ```
42
43 ```css
44 input::-MOZ-PLACEHOLDER {}
45 ```
46
47 The following patterns are *not* considered violations:
48
49 ```css
50 a:before {}
51 ```
52
53 ```css
54 a::before {}
55 ```
56
57 ```css
58 input::-moz-placeholder {}
59 ```
60
61 ### `"upper"`
62
63 The following patterns are considered violations:
64
65 ```css
66 a:Before {}
67 ```
68
69 ```css
70 a:bEfOrE {}
71 ```
72
73 ```css
74 a:BEFORE {}
75 ```
76
77 ```css
78 a::Before {}
79 ```
80
81 ```css
82 a::bEfOrE {}
83 ```
84
85 ```css
86 a::before {}
87 ```
88
89 ```css
90 input::-moz-placeholder {}
91 ```
92
93 The following patterns are *not* considered violations:
94
95 ```css
96 a:BEFORE {}
97 ```
98
99 ```css
100 a::BEFORE {}
101 ```
102
103 ```css
104 input::-MOZ-PLACEHOLDER {}
105 ```