BASELINE NowYouCanUse.com
Limited Availability Selectors
id: heading-selectors

Heading pseudo-classes

The :heading and :heading() CSS pseudo-classes match headings of varying levels. The :heading pseudo-class matches any heading (<h1> through <h6>). The :heading() selector matches any of the given levels. For example, :heading(1, 2) matches headings level 1 and 2.
Baseline Status: This feature is currently Limited and is missing in at least one major browser engine.
Desktop Browser Engine Support
Google Chrome
Unsupported
Mozilla Firefox
Unsupported
Apple Safari
Unsupported
Microsoft Edge
Unsupported
Mobile Browser Engine Support
Chrome Android
Firefox Android
Safari iOS
Specifications and References