CSS 3 Module | <== Test # ==> | |
---|---|---|
W3C Selectors | 20 of 153 of the static tests category | |
Testing | Date | Revision |
Multiple ID selectors (ID #15b) | 2004-05-29 | 1.1 |
This line should be green.
p { background: green; color: white; } #test#fail { background: red; color: yellow; } #fail#test { background: red; color: yellow; } #fail { background: red; color: yellow; } div { background: red; color: yellow; } #pass#pass { background: green; color: white; }
<p id="test">This line should be green.</p> <div id="pass">This line should be green.</div>