value-no-vendor-prefix
Disallow vendor prefixes for values.
a { display: -webkit-flex; }
/** ↑
* This prefix */
This rule ignores non-standard vendor-prefixed values that aren't handled by Autoprefixer.
The fix
option can automatically fix all of the problems reported by this rule. However, it will not remove duplicate values produced when the prefixes are removed. You can use Autoprefixer itself, with the add
option off and the remove
option on, in these situations.
Options
true
The following patterns are considered problems:
a { display: -webkit-flex; }
a { max-width: -moz-max-content; }
a { background: -webkit-linear-gradient(bottom, #000, #fff); }
The following patterns are not considered problems:
a { display: flex; }
a { max-width: max-content; }
a { background: linear-gradient(bottom, #000, #fff); }
Optional secondary options
ignoreValues: ["string"]
Given:
["grab", "max-content"]
The following patterns are not considered problems:
cursor: -webkit-grab;
.foo { max-width: -moz-max-content; }