Has-Selector Select All
The parent row reads its children through :has() and reports partial or full.
17 free, pure-CSS effects match the "has-selector" tag. Each is copy-ready and needs no library or build step.
The parent row reads its children through :has() and reports partial or full.
Focusing the field animates a registered angle so the gradient ring circles it once.
Switching on expands an extra options panel below it, using :has() and grid rows.
Checked chips restyle themselves and the group header count reacts through :has().
Clicking swaps the label for a spinner, driven purely by the :has() parent selector.
The :has() selector lets the checked input restyle its entire surrounding card.
The wrapper turns red only after a value is entered and fails, thanks to :has().
Hovering one row dims every other row, because :has() lifts the state to the list.
Tick the box and :has() flips the whole spinner into a finished checkmark state.
Selecting a radio marks the item active and shifts the whole bar accent with :has().
Holding the handle squashes it into the rail and the whole card sinks with it.
An enabled rail above a locked twin that drains its colour and dims its own label.
Real checkboxes become sliding switches and every enabled flag tints its own row through has.
A hidden checkbox swaps the whole chart between centimetres and inches with no script at all.
Real checkboxes drive the row highlight through the has selector with no script at all.
Pointing at any cell lights the whole column through a pure CSS has() selector.
The hint opens on hover and stays open while the field inside it holds focus.