Web features explorer

:not()

Widely available since 2023-07-21
Tags: css Groups: CSS > Selectors

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

Learning resources on MDN

Browser support (view on caniuse.com)