.gitignore added
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / stylelint / lib / rules / property-no-vendor-prefix / README.md
1 # property-no-vendor-prefix
2
3 Disallow vendor prefixes for properties.
4
5 ```css
6 a { -webkit-transform: scale(1); }
7 /**  ↑
8  * These prefixes */
9 ```
10
11 This rule does not blanketly condemn vendor prefixes. Instead, it uses [Autoprefixer's](https://github.com/postcss/autoprefixer) up-to-date data (from [caniuse.com](http://caniuse.com/)) to know whether a vendor prefix should cause a violation or not. *If you've included a vendor prefixed property that has a standard alternative, one that Autoprefixer could take care of for you, this rule will complain about it*. If, however, you use a non-standard vendor-prefixed property, one that Autoprefixer would ignore and could not provide (such as `-webkit-touch-callout`), this rule will ignore it.
12
13 ## Options
14
15 ### `true`
16
17 The following patterns are considered violations:
18
19 ```css
20 a { -webkit-transform: scale(1); }
21 ```
22
23 ```css
24 a { -moz-columns: 2; }
25 ```
26
27 The following patterns are *not* considered violations:
28
29 ```css
30 a { transform: scale(1); }
31 ```
32
33 ```css
34 a {
35 columns: 2; }
36 ```
37
38 ```css
39 a { -webkit-touch-callout: none; }
40 ```