<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> <html> <head> <title>NEGATED class selector</title> <style type="text/css">div.stub > * { color : red } div.stub *:not(.foo) { color : lime } </style> <link rel="first" href="css3-modsel-1.html" title="Groups of selectors"> <link rel="prev" href="css3-modsel-58.html" title="Default attribute value and negation pseudo-class"> <link rel="next" href="css3-modsel-60.html" title="NEGATED ID selector"> <link rel="last" href="css3-modsel-d5e.html" title="NEGATED :indeterminate with :checked"> <link rel="up" href="./index.html"> <link rel="top" href="../../index.html"> </head> <body> <div class="stub"> <p>This paragraph should be in green characters.</p> <p class="bar foofoo tut">This paragraph should be in green characters.</p> <p class="bar foo tut"> <span class="tut foo2">This paragraph should be in green characters.</span> </p> </div> </body> </html>