CSS 3 Module | <== Test # ==> | |
---|---|---|
W3C Selectors | 91 of 153 of the static tests category | |
Testing | Date | Revision |
NEGATED :last-of-type pseudo-class (ID #80) | 2001-07-11 | 1.0 |
.red { background-color : red } address { margin-bottom : 1em ; margin-left : 1em } address:not(:last-of-type) { background-color : lime }
<div> <address class="red">A first address that should have a green background</address> <address class="red">A second address that should have a green background</address> <address>A third address with normal background</address> This div should have three addresses above it.</div>