CSS3 :not Selector
Set a background color for all elements that are not a <p> element:
Try it yourself »
Definition and Usage
The :not(selector) selector matches every element that is NOT the specified element/selector.
The :not selector is supported in all major browsers.
Note: IE8 and earlier do not support the :not selector.
Thank You For Helping Us!
Your message has been sent to W3Schools.