Web platform features explorer

Page selectors

Limited availability
Tags: css Groups: CSS > Selectors Print media

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.

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)