CSS 3 Module <== Test # ==>
W3C Selectors 90 of 146 of the static tests category
Testing Date Revision
NEGATED :only-of-type pseudo-class (ID #82) 2001-11-12 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>