minor adjustment to readme
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / stylelint / lib / rules / media-feature-name-no-vendor-prefix / README.md
1 # media-feature-name-no-vendor-prefix
2
3 Disallow vendor prefixes for media feature names.
4
5 ```css
6 @media (-webkit-min-device-pixel-ratio: 1) {}
7 /**      ↑
8  * These prefixes */
9 ```
10
11 Right now this rule simply checks for prefixed *resolutions*.
12
13 ## Options
14
15 ### `true`
16
17 The following patterns are considered violations:
18
19 ```css
20 @media (-webkit-min-device-pixel-ratio: 1) {}
21 ```
22
23 ```css
24 @media (min--mox-device-pixel-ratio: 1) {}
25 ```
26
27 ```css
28 @media (-o-max-device-pixel-ratio: 1/1) {}
29 ```
30
31 The following patterns are *not* considered violations:
32
33 ```css
34 @media (min-resolution: 96dpi) {}
35 ```
36
37 ```css
38 @media (max-resolution: 900dpi) {}
39 ```