Skip to main content

selector-attribute-operator-disallowed-list

指定不允许的属性运算符的列表。

¥Specify a list of disallowed attribute operators.

[target="_blank"] {}
/** ↑

* This operator */

message 次要选项 可以接受该规则的参数。

¥The message secondary option can accept the arguments of this rule.

选项

¥Options

array|string["array", "of", "operators"]|"operator"

鉴于:

¥Given:

["*="]

以下模式被视为问题:

¥The following patterns are considered problems:

[class*="test"] {}

以下模式不被视为问题:

¥The following patterns are not considered problems:

[target] {}
[target="_blank"] {}
[class|="top"] {}