TLDR Web Dev · ARTICLES & TUTORIALS
THE UNDENIABLE UTILITY OF CSS :HAS
Summary from the TLDR Web Dev newsletter
The CSS :has pseudo-class provides a new way to style elements based on their relationships to other elements in the DOM. It is a powerful tool for creating more complex and dynamic CSS styles. However, it is important to consider browser support and the complexity of your use case before using :has.