An @page rule sets basic settings such as page size, margin, page header, and page footer.
@page
@page { size: A4; margin: 25mm; @top-center { content: "Sample"; } @bottom-center { content: counter(page); } }