stylelint
Version:
A mighty, modern CSS linter.
39 lines (28 loc) • 601 B
Markdown
# at-rule-no-vendor-prefix
Disallow vendor prefixes for at-rules.
<!-- prettier-ignore -->
```css
@-webkit-keyframes { 0% { top: 0; } }
/** ↑
* This prefix */
```
## Options
### `true`
The following patterns are considered violations:
<!-- prettier-ignore -->
```css
@-webkit-keyframes { 0% { top: 0; } }
```
<!-- prettier-ignore -->
```css
@-ms-viewport { orientation: landscape; }
```
The following patterns are _not_ considered violations:
<!-- prettier-ignore -->
```css
@keyframes { 0% { top: 0; } }
```
<!-- prettier-ignore -->
```css
@viewport { orientation: landscape; }
```