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

This paragraph should have green background.

But this address should be unstyled.

This paragraph should have green background.

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