Target
:target div#clickme:target {background: green;}
Click this link, and the div will go green.