Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

:not pseudo-class

Applies one or more styles to elements that do not match the simple selector s.

Selectors Level 3, Section 6.6.7Internet Explorer 9

 

Syntax

selector:not(fullSelector) {...}

Parameters

selector

A CSS simple selector.

fullSelector

Standards information

Remarks

The :not pseudo-class takes a simple selector as an argument to select elements that are not selected by that argument.

 

 

Show:
© 2015 Microsoft