我想要做的是在一个地方编写一个匹配任意值的选择器,然后需要一个不同的值等于它.如果 [attr="value"]
将value"解析为正则表达式,那么这将解决我的问题:
What I want to do is write a selector that matches an arbitrary value in one place, then later requires a different value be equal to it. If [attr="value"]
parsed "value" as a regex, then this would solve my problem:
*[class="(.+)"] *[class="if_1"] {/* styles *