UNPKG

733 BMarkdownView Raw
1# at-rule-no-vendor-prefix
2
3Disallow vendor prefixes for at-rules.
4
5<!-- prettier-ignore -->
6```css
7 @-webkit-keyframes { 0% { top: 0; } }
8/** ↑
9 * This prefix */
10```
11
12The [`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
18The following patterns are considered violations:
19
20<!-- prettier-ignore -->
21```css
22@-webkit-keyframes { 0% { top: 0; } }
23```
24
25<!-- prettier-ignore -->
26```css
27@-ms-viewport { orientation: landscape; }
28```
29
30The following patterns are _not_ considered violations:
31
32<!-- prettier-ignore -->
33```css
34@keyframes { 0% { top: 0; } }
35```
36
37<!-- prettier-ignore -->
38```css
39@viewport { orientation: landscape; }
40```