Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
sdrothrock
· 2y ago · 0 comments
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. :)
Comments
[–]
inopinatus
2y 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.
[–]
simonbarker87
2y 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.
[–]
verisimi
2y ago
Maybe he doesn't know about that .. someone ought to drop him an email.