:not()

The :not pseudo-class specifies style rules for elements that do not contain the specified selector.

Syntax



element:not(selector) {
  property: value;
}