The CSS relational selector :has()
allows selecting elements in combinations that were previously impossible without the assistance of JavaScript. We’ll review how to combine :has()
with core CSS selectors to extend their capabilities for unique arrangements of elements.