- From: Jonas Hartmann <j0n4s.h4rtm4nn@googlemail.com>
- Date: Mon, 7 Feb 2011 22:00:31 +0100
- To: Brad Kemper <brad.kemper@gmail.com>
- Cc: Tab Atkins Jr. <jackalmage@gmail.com>, thomasin a <nevereatredjellybeans@gmail.com>, www-style@w3.org
On 2011-02-07, at 19:20, Brad Kemper wrote: >> It'd be nice to have a way to replicate radio-button behavior. Something like: > > a:clicked(odd) { /* on state */ } > a:clicked(even) { /* off state */ } :focus might work for links and for radio buttons maybe input[selected="selected"] works.. > ... where only a mouse-up counted as as 'clicked'. no idea with this one. > > Although it would be better if there was some sort of actual binary state that could be attached to any element and styled. I fully agree with that. Having distinct states which can be styled is a clean approach.
Received on Monday, 7 February 2011 21:01:08 UTC