.gitignore added
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / stylelint / lib / rules / value-no-vendor-prefix / README.md
1 # value-no-vendor-prefix
2
3 Disallow vendor prefixes for values.
4
5 ```css
6 a { display: -webkit-flex; }
7 /**          ↑
8  *  These prefixes */
9 ```
10
11 This rule will only complain for prefixed *standard* values, and not for prefixed *proprietary* or *unknown* ones.
12
13 ## Options
14
15 ### `true`
16
17 The following patterns are considered violations:
18
19 ```css
20 a { display: -webkit-flex; }
21 ```
22
23 ```css
24 a { max-width: -moz-max-content; }
25 ```
26
27 ```css
28 a { background: -webkit-linear-gradient(bottom, #000, #fff); }
29 ```
30
31 The following patterns are *not* considered violations:
32
33 ```css
34 a { display: flex; }
35 ```
36
37 ```css
38 a { max-width: max-content; }
39 ```
40
41 ```css
42 a { background: linear-gradient(bottom, #000, #fff); }
43 ```
44
45 ## Optional secondary options
46
47 ### `ignoreValues: ["string"]`
48
49 Given:
50
51 ```js
52 ["grab", "max-content"]
53 ```
54
55 The following patterns are *not* considered violations:
56
57 ```css
58 cursor: -webkit-grab;
59 ```
60
61 ```css
62 .foo { max-width: -moz-max-content; }
63 ```