web-feature: :not()

baseline logo Widely available

The :not() functional pseudo-class matches elements that do not match the selectors in its argument.