1
0
mirror of https://github.com/thangisme/notes.git synced 2024-11-01 02:27:20 -04:00
notes/node_modules/stylelint/lib/rules/media-feature-name-no-vendor-prefix
Patrick Marsceill b7b0d0d7bf
Initial commit
2017-03-09 13:16:08 -05:00
..
index.js Initial commit 2017-03-09 13:16:08 -05:00
README.md Initial commit 2017-03-09 13:16:08 -05:00

media-feature-name-no-vendor-prefix

Disallow vendor prefixes for media feature names.

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

Right now this rule simply checks for prefixed resolutions.

Options

true

The following patterns are considered warnings:

@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 warnings:

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