Ian Hickson 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. */

This line should have a green background.