CSS 3 Module | <== Test # ==> | |
---|---|---|
W3C Selectors | 119 of 182 | |
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>