: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:
© 2014 Microsoft