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