pseudo-class :target-within

Hello
Like :focus-within, i think this would be useful.
I use it simulated with javascript since years.

the two selectors are equivalent:
:focus-within
*:has(:focus)

Received on Tuesday, 3 February 2015 09:50:44 UTC