“:has” CSS Selector
This showcases how to use the “:has” CSS Selector, which allows you to style a specified element based upon selecting a parent element. It is one of the most useful CSS Selectors.
All relevant information is in the following Open Source game link: