2-102 0.1%
4-100 0.55%
Baseline 2023 Newly available
Since December 2023, this feature works across the latest devices and browser versions. This feature might not work in older devices or browsers.
Select elements containing specific content. For example, a:has(img) selects all <a> elements that contain an <img> child.