CSS 3 Module <== Test # ==>
W3C Selectors 17 of 140 of the static tests category
Testing Date Revision
NEGATED More than one class selector (ID #14d) 6-december-2002 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>