lundi 11 juillet 2016

How can I combine two :not()s?

I'm trying to do something like this:

:not(h1) > a,
:not(figure) > a {
    background: #859900;
}

But it doesn't work, because figure>a catches :not(h1)>a and h1>a catches :not(figure)>a. How can I combine those?

Aucun commentaire:

Enregistrer un commentaire