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.