.gitignore added
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / stylelint / lib / rules / media-feature-name-blacklist / README.md
1 # media-feature-name-blacklist
2
3 Specify a blacklist of disallowed media feature names.
4
5 ```css
6 @media (min-width: 700px) {}
7 /**     ↑
8  * These media feature names */
9 ```
10
11 **Caveat:** Media feature names within a range context are currently ignored.
12
13 ## Options
14
15 `array|string|regex`: `["array", "of", "unprefixed", "media-features" or "regex"]|"media-feature"|/regex/`
16
17 Given:
18
19 ```js
20 ["max-width", "/^my-/"]
21 ```
22
23 The following patterns are considered violations:
24
25 ```css
26 @media (max-width: 50em) {}
27 ```
28
29 ```css
30 @media (my-width: 50em) {}
31 ```
32
33 The following patterns are *not* considered violations:
34
35 ```css
36 @media (min-width: 50em) {}
37 ```
38
39 ```css
40 @media print and (min-resolution: 300dpi) {}
41 ```