#media-feature-name-case

Specify lowercase or uppercase for media feature names.

指定 media 特性名称的大小写。

@media (min-width: 700px) {}
/**     ↑
 * These media feature names */

Caveat: Media feature names within a range context are currently ignored.

警告:含有范围上下文的 media 特性名称目前是被忽略的。

#Options

string: "lower"|"upper"

#"lower"

The following patterns are considered warnings:

以下模式被认为是个警告:

@media (MIN-WIDTH: 700px) {}
@media not all and (MONOCHROME) {}
@media (min-width: 700px) and (ORIENTATION: landscape) {}

The following patterns are not considered warnings:

以下模式正常:

@media (min-width: 700px) {}
@media not all and (monochrome) {}
@media (min-width: 700px) and (orientation: landscape) {}

#"upper"

The following patterns are considered warnings:

以下模式被认为是个警告:

@media (min-width: 700px) {}
@media not all and (monochrome) {}
@media (MIN-WIDTH: 700px) and (orientation: landscape) {}

The following patterns are not considered warnings:

以下模式正常:

@media (MIN-WIDTH: 700px) {}
@media not all and (MONOCHROME) {}
@media (MIN-WIDTH: 700px) and (ORIENTATION: landscape) {}