| CSS 3 Module | <== Test # ==> | |
|---|---|---|
| W3C Selectors | 116 of 153 | |
| Testing | Date | Revision |
| Syntax and parsing (ID #155b) | 27-november-2001 | 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>