CSS 3 Module | <== Test # ==> | |
---|---|---|
W3C Selectors | 58 of 153 of the static tests category | |
Testing | Date | Revision |
Child combinatior and IDs (ID #44d) | 2001-11-21 | 1.0 |
This should have a green background.
#fail > div { background: red; } p { background: green; }
<div> This should be unstyled. </div> <p> This should have a green background. </p>