我正在尝试做这样的事情:
:not(h1) > a, :not(figure) > a { background: #859900; }
但它不起作用,因为figure>a捕获:not(h1)>a和h1>a捕获:not(figure)>a.我该如何结合这些?
figure>a
:not(h1)>a
h1>a
:not(figure)>a
css css-selectors css3
css ×1
css-selectors ×1
css3 ×1