CSS 3 Module <== Test # ==>
W3C Selectors 18 of 276 of the static tests category
Testing Date Revision
NEGATED More than one class selector (ID #14d) 2002-12-06 1.0

This line should be green.

p { background: green; color: white; }
.t1:not(.t2) { background: red; color: yellow; }
:not(.t2).t1 { background: red; color: yellow; }
.t2:not(.t1) { background: red; color: yellow; }
:not(.t1).t2 { background: red; color: yellow; }
  <p class="t1 t2">This line should be green.</p>