UNPKG

el-beeswarm

Version:

<div style="display: flex; padding: 1rem; flex-direction: column; align-items: center; justify-content: center; height: 100vh; text-align: center; display: flex;

48 lines (34 loc) 917 B
# media-feature-name-no-vendor-prefix Disallow vendor prefixes for media feature names. <!-- prettier-ignore --> ```css @media (-webkit-min-device-pixel-ratio: 1) {} /** ↑ * This prefixe */ ``` Right now this rule simply checks for prefixed _resolutions_. The [`fix` option](../../../docs/user-guide/usage/options.md#fix) can automatically fix all of the problems reported by this rule. ## Options ### `true` The following patterns are considered violations: <!-- prettier-ignore --> ```css @media (-webkit-min-device-pixel-ratio: 1) {} ``` <!-- prettier-ignore --> ```css @media (min--mox-device-pixel-ratio: 1) {} ``` <!-- prettier-ignore --> ```css @media (-o-max-device-pixel-ratio: 1/1) {} ``` The following patterns are _not_ considered violations: <!-- prettier-ignore --> ```css @media (min-resolution: 96dpi) {} ``` <!-- prettier-ignore --> ```css @media (max-resolution: 900dpi) {} ```