Hacker News new | past | comments | ask | show | jobs | submit login

<a href="" disabled="disabled" ...>

is selectable with

    [disabled] { }
or

    [disabled="disabled"] { } 
And

    [disabled]:not(.greyButtonStyle) { } 
does the last example if you classed that style, doesn't it? I've only done a little CSS, not very recent ... unless you're recruiting, then I'm an expert ;o).

I imagine though there are times when you want to class (some) button tags as .button.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: