Skip to main content


Disallow vendor prefixes for media feature names.

@media (-webkit-min-device-pixel-ratio: 1) {}
/** ↑
* This prefixe */

This rule ignores non-standard vendor-prefixed media feature names that aren't handled by Autoprefixer.

The fix option can automatically fix all of the problems reported by this rule.



The following patterns are considered problems:

@media (-webkit-min-device-pixel-ratio: 1) {}
@media (min--mox-device-pixel-ratio: 1) {}
@media (-o-max-device-pixel-ratio: 1/1) {}

The following patterns are not considered problems:

@media (min-resolution: 96dpi) {}
@media (max-resolution: 900dpi) {}