CSS 3 Module <== Test # ==>
W3C Selectors 90 of 140 of the static tests category
Testing Date Revision
NEGATED :only-of-type pseudo-class (ID #82b) 12-november-2001 1.1

This paragraph should have green background.

But this address should be unstyled.

This paragraph should have green background.

.green { background-color : lime ! important }
.t1 *:not(:only-of-type) { background-color : red }
<div class="t1">
<p class="green">This paragraph should have green background.</p>
<address>But this address should be unstyled.</address>
<p class="green">This paragraph should have green background.</p>
</div>