Y
Hacker News
new
|
ask
|
show
|
jobs
by
sdrothrock
844 days ago
If the author also used the checked/unchecked disabled states, that might open up more possibilities with four values to with rather than just two. :)
3 comments
inopinatus
844 days ago
You can also use required checkboxes to make form elements (and their contents) in entirely separate DOM subtrees match the :invalid state, with hilarious opportunities for CSS.
link
simonbarker87
844 days ago
Throw in the indeterminate state and he’s got another state with slight visual difference, might be able to add a little texture/depth maybe.
link
verisimi
844 days ago
Maybe he doesn't know about that .. someone ought to drop him an email.
link