1 2 3 4 5 6
/* Source: http://www.w3.org/Style/CSS/Test/CSS3/Selectors/current/html/tests/css3-modsel-7.html */ p { background-color : red } p[class~="b"] { background-color : lime } address { background-color : red } address[title~="foo"] { background-color : lime } span[class~="b"] { background-color : red }