:first
Widely availableSince 202397% of users
A page-target selector used within the '@page' rule to specifically style the first page of a printed document.
What's modern
From web-features, MDN's browser data and our snippets, checked dailyModernIn every major browser since August 2023. Widely available since February 2026.
See how modern your own CSS is.Check your CSS →
Quick example
@page :first {
/* Removes the header from the first printed page */
margin-top: 2cm;
}:first browser support
BaselineWidely availableThis feature is well established and works across many devices and browser versions. It has been available across browsers since 2023.Safe to use without fallbacks.
Usage97%of people can use this3% use a browser without it.
Browsers
18+
116+
6+
12+Mobile
18+Android
116+Android
6+iOS