Select elements containing specific content. For example, a:has(img) selects all <a> elements that contain an <img> child.
a:has(img)
<a>
<img>
Browser support tables for modern web technologies
Created & maintained by @Fyrd , design by @Lensco .
Support data contributions by the GitHub community . Usage share statistics by StatCounter GlobalStats for June, 2024
Location detection provided by ipinfo.io . Browser testing done via