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