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

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.
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.
Maybe he doesn't know about that .. someone ought to drop him an email.