keyframe-block-no-duplicate-selectors
禁止关键帧块内出现重复的选择器。
¥Disallow duplicate selectors within keyframe blocks.
@keyframes foo { 0% {} 0% {} }
/** ↑
* This duplicate selector */
该规则不区分大小写。
¥This rule is case-insensitive.
message
次要选项 可以接受该规则的参数。
¥The message
secondary option can accept the arguments of this rule.
选项
¥Options
true
以下模式被视为问题:
¥The following patterns are considered problems:
@keyframes foo { 0% {} 0% {} }
@keyframes foo { from {} from {} }
@keyframes foo { from {} FROM {} }
以下模式不被视为问题:
¥The following patterns are not considered problems:
@keyframes foo { 0% {} 100% {} }
@keyframes foo { from {} to {} }