CSS 3 Module | <== Test # ==> | |
---|---|---|
W3C Selectors | 106 of 153 of the static tests category | |
Testing | Date | Revision |
:empty pseudo-class and text (ID #148) | 2001-11-15 | 1.0 |
This line should have a green background.
p { background: lime; } p:empty { background: red; }
<p>This line should have a green background.</p>