The :first
pseudo-class, used in conjunction with the @page rule, defines the first page of a printed document.
Note. You cannot change all CSS properties with this pseudo class. You can change the margin
, orphans
, widows
, and page breaks of a document. Also, when defining margin
, you can use absolute length units. All other properties will be ignored.
@page:first {
property: value;
}