1 | # at-rule-no-vendor-prefix
|
2 |
|
3 | Disallow vendor prefixes for at-rules.
|
4 |
|
5 |
|
6 | ```css
|
7 | @-webkit-keyframes { 0% { top: 0; } }
|
8 | /** ↑
|
9 | * This prefix */
|
10 | ```
|
11 |
|
12 | The [`fix` option](../../../docs/user-guide/usage/options.md#fix) can automatically fix all of the problems reported by this rule.
|
13 |
|
14 | ## Options
|
15 |
|
16 | ### `true`
|
17 |
|
18 | The following patterns are considered violations:
|
19 |
|
20 |
|
21 | ```css
|
22 | @-webkit-keyframes { 0% { top: 0; } }
|
23 | ```
|
24 |
|
25 |
|
26 | ```css
|
27 | @-ms-viewport { orientation: landscape; }
|
28 | ```
|
29 |
|
30 | The following patterns are _not_ considered violations:
|
31 |
|
32 |
|
33 | ```css
|
34 | @keyframes { 0% { top: 0; } }
|
35 | ```
|
36 |
|
37 |
|
38 | ```css
|
39 | @viewport { orientation: landscape; }
|
40 | ```
|