On Jul 1, 2011, at 10:53 AM, Mark Volkmann wrote:

> Are :hover and :focus the only ways that CSS can change something
> based on user interaction?

And :active
http://www.w3.org/TR/css3-selectors/#the-user-action-pseudo-classes-hover-act

> I realize that there are many more ways that involve JavaScript.
> It would be interesting if there was a :click pseudo-class so CSS
> properties of a clicked element could be changed.

:active ?

Limited to elements defined as interactive, though (buttons, links).

Philippe
--
Philippe Wittenbergh
http://l-c-n.com/






______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to