CSS 3 Module | <== Test # ==> | |
---|---|---|
W3C Selectors | 78 of 78 | |
Testing | Date | Revision |
Simple combination of direct and indirect adjacent combinators (ID #90) | 11-july-2001 | 1.0 |
This text should NOT be green.
This text should be green.
p { color: red; } blockquote ~ div + p { color: green; }
<blockquote>This text should NOT be green.</blockquote> <div>This text should NOT be green.</div> <div>This text should NOT be green.</div> <p>This text should be green.</p>