Change element state via CSS and retain that state
I was looking at CSS transitions. Perhaps a change from one color to another would suffice. But the w3 examples show a change from size or color on hover, then they revert back. Is there a way to change the state of something via CSS, and stay in that state for the duration of the browser session?