1 comment

[ 3.5 ms ] story [ 14.9 ms ] thread
`:has` allows matching a parent on the basis of matching selectors in the children - e. g. the coveted `section:has(input:checked)` will match section elements containing a checked input.