Skip to content

Files

Latest commit

 

History

History
43 lines (29 loc) · 768 Bytes

value-no-vendor-prefix.md

File metadata and controls

43 lines (29 loc) · 768 Bytes

Pattern: Unexpected vendor-prefix value

Issue: -

Description

This rule will only complain for prefixed standard values, and not for prefixed proprietary or unknown ones.

Examples

The following patterns are considered violations:

a { display: -webkit-flex; }
/**          ↑
 *  These prefixes */
a { max-width: -moz-max-content; }
a { background: -webkit-linear-gradient(bottom, #000, #fff); }

The following patterns are not considered violations:

a { display: flex; }
a { max-width: max-content; }
a { background: linear-gradient(bottom, #000, #fff); }

Further Reading