:focus-within | CSS-Tricks

The :focus-within pseudo selector in CSS is a bit unusual, although well-named and rather intuitive. It selects an element if that element contains any chi
https://css-tricks.com/almanac/selectors/f/focus-within/