🏠 New in Low Baseline Support: :has()
December 19, 2023
The :has()
CSS functional pseudo-class matches an element if any of the selectors passed as parameters would match at least one element.
Source features
css.selectors.has
[mdn]
December 19, 2023
The :has()
CSS functional pseudo-class matches an element if any of the selectors passed as parameters would match at least one element.
css.selectors.has
[mdn]