Direct link to the article Radio Buttons Are Like Selects; Checkboxes Are Like Multiple Selects

Radio Buttons Are Like Selects; Checkboxes Are Like Multiple Selects

I was reading Anna Kaley’s “Listboxes vs. Dropdown Lists” post the other day. It’s a fairly straightforward comparison between different UI implementations of selecting options. There is lots of good advice there. Classics like that you should use radio buttons …

Avatar of Chris Coyier
Chris Coyier on
Direct link to the article Custom Styling Form Inputs With Modern CSS Features

Custom Styling Form Inputs With Modern CSS Features

It’s entirely possible to build custom checkboxes, radio buttons, and toggle switches these days, while staying semantic and accessible. We don’t even need a single line of JavaScript or extra HTML elements! It’s actually gotten easier lately than it has …

Avatar of Aaron Iker
Aaron Iker on (Updated on )

Indeterminate Checkboxes

While checkboxes can only either submit their value (checked state) or not (unchecked state), they have a third visual-only state: indeterminate. This is only settable via JavaScript and does not affect the value, only the appearance. We'll cover how it works and a simple use case.
Avatar of Chris Coyier
Chris Coyier on (Updated on )