1 <!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.01//EN">
4 <title>NEGATED More than one class selector
</title>
5 <style type=
"text/css">
6 p
{ background: green
; color: white
; }
7 .t1:not(.t2) { background: red
; color: yellow
; }
8 :not
(.t2
).t1
{ background: red
; color: yellow
; }
9 .t2:not(.t1) { background: red
; color: yellow
; }
10 :not
(.t1
).t2
{ background: red
; color: yellow
; }
12 <link rel=
"first" href=
"css3-modsel-1.html" title=
"Groups of selectors">
13 <link rel=
"prev" href=
"css3-modsel-14c.html" title=
"More than one class selector">
14 <link rel=
"next" href=
"css3-modsel-14e.html" title=
"NEGATED More than one class selector">
15 <link rel=
"last" href=
"css3-modsel-d4.html" title=
"Dynamic updating of :first-child and :last-child">
16 <link rel=
"up" href=
"./index.html">
17 <link rel=
"top" href=
"../../index.html">
20 <p class=
"t1 t2">This line should be green.
</p>