source

CSS:has(.potential-beyond-being-a-parent-selector)

:has(): the family selector

CSS :has() Interactive Guide

CSS is awesome. Isn't it?

Do you like cookies?