Skip to content

Files

Latest commit

 

History

History
35 lines (23 loc) · 595 Bytes

at-rule-no-vendor-prefix.md

File metadata and controls

35 lines (23 loc) · 595 Bytes

Pattern: Use of restricted vendor prefix for at-rule

Issue: -

Description

Disallow vendor prefixes for at-rules.

Examples

The following patterns are considered violations:

    @-webkit-keyframes { 0% { top: 0; } }
/**  ↑
 * These prefixes */
@-ms-viewport { orientation: landscape; }

The following patterns are not considered violations:

@keyframes { 0% { top: 0; } }
@viewport { orientation: landscape; }

Further Reading