Ian Hickson .float { float: right; } :hover ~ :contains('green') { background: green; }

TEST

TEST

TEST

TEST

While you hover over any of the four instances of the word TEST above, this paragraph should turn green.