Require a single space or disallow whitespace after the range operator in media features.
在 media 特性的范围操作符之后要求有一个空格或禁止有空白。
@media (max-width >= 600px) {}
/** ↑
* The space after this */
string: "always"|"never"
"always"
There must always be a single space after the range operator.
在范围操作符之后必须有一个空格。
The following patterns are considered warnings:
以下模式被认为是个警告:
@media (max-width>=600px) {}
@media (max-width >=600px) {}
The following patterns are not considered warnings:
以下模式正常:
@media (max-width>= 600px) {}
@media (max-width >= 600px) {}
"never"
There must never be whitespace after the range operator.
在范围操作符之后禁止有空白。
The following patterns are considered warnings:
以下模式被认为是个警告:
@media (max-width>= 600px) {}
@media (max-width >= 600px) {}
The following patterns are not considered warnings:
以下模式正常:
@media (max-width>=600px) {}
@media (max-width >=600px) {}