CSS 3 Module | <== Test # ==> | |
---|---|---|
W3C Selectors | 115 of 153 of the static tests category | |
Testing | Date | Revision |
Syntax and parsing (ID #155b) | 2001-11-27 | 1.0 |
This line should have a green background.
p { background: lime; } .two\ words { background: red; } /* the "." and "~=" forms match on a space separated list of words. In such a list, a word containing a space can never match, since it would by definition be two words. */
<p class="two words">This line should have a green background.</p>