Page selectors
Limited availability
The :first
, :left
, and :right
pseudo-classes select pages based on their position in sequence after pagination. They're often used with the page
CSS property, to choose a print layout defined by the @page
rule.
Learning resources on MDN
Browser support
- Chrome 85 Released on 2020-08-25
- Chrome Android 85 Released on 2020-08-25
- Edge 85 Released on 2020-08-27
- Firefox ❌
- Firefox for Android ❌
- Safari 6 Released on 2012-07-25
- Safari on iOS 6 Released on 2012-09-10
Baseline availability blocked since August 2020 by Firefox (56 months)
Specifications
View web-platform-tests results for this feature - View the feature source file (dist) - Edit the feature - Report an issue about this feature