CSS 3 Module | <== Test # ==> | |
---|---|---|
W3C Selectors | 57 of 153 of the static tests category | |
Testing | Date | Revision |
Child combinator and classes (ID #44c) | 2003-06-21 | 1.1 |
.fail > div { background: red; color: yellow; } .control { background: green; color: white; }
<div> This should be unstyled. </div> <div class="control"> This should have a green background. </div>