CSS: Selector Negation

By Xah Lee. Date: .
tag:not(expr)

Match tag name tag if it does not match selector expr.

/* match p, only if it is not class x */
p:not([class="x"]) {
color:red;
}

CSS, Selectors