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