1
0
mirror of https://github.com/thangisme/notes.git synced 2024-06-11 22:10:50 +00:00
notes/node_modules/stylelint/lib/rules/value-no-vendor-prefix/README.md
Patrick Marsceill b7b0d0d7bf
Initial commit
2017-03-09 13:16:08 -05:00

44 lines
688 B
Markdown

# value-no-vendor-prefix
Disallow vendor prefixes for values.
```css
a { display: -webkit-flex; }
/** ↑
* These prefixes */
```
This rule will only warn for prefixed *standard* values, and not for prefixed *proprietary* or *unknown* ones.
## Options
### `true`
The following patterns are considered warnings:
```css
a { display: -webkit-flex; }
```
```css
a { max-width: -moz-max-content; }
```
```css
a { background: -webkit-linear-gradient(bottom, #000, #fff); }
```
The following patterns are *not* considered warnings:
```css
a { display: flex; }
```
```css
a { max-width: max-content; }
```
```css
a { background: linear-gradient(bottom, #000, #fff); }
```