Specify lowercase or uppercase for media feature names.
@media (min-width: 700px) {}
/** ↑
* These media feature names */
This rule ignores media feature names within a range context.
命令行中的 --fix
选项可以自动修复此规则报告的所有问题。
string
: "lower"|"upper"
以下模式被视为违规:
@media (MIN-WIDTH: 700px) {}
@media not all and (MONOCHROME) {}
@media (min-width: 700px) and (ORIENTATION: landscape) {}
以下模式不被视为违规:
@media (min-width: 700px) {}
@media not all and (monochrome) {}
@media (min-width: 700px) and (orientation: landscape) {}
以下模式被视为违规:
@media (min-width: 700px) {}
@media not all and (monochrome) {}
@media (MIN-WIDTH: 700px) and (orientation: landscape) {}
以下模式不被视为违规:
@media (MIN-WIDTH: 700px) {}
@media not all and (MONOCHROME) {}
@media (MIN-WIDTH: 700px) and (ORIENTATION: landscape) {}