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.
Specifications
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 (59 months)
Web Platform Tests (WPT)
View the latest WPT test results for this featureView as JSON | Edit this feature | Report an issue | Web-features entry: source, dist