When printing a document, the @page CSS rule is used to change some CSS properties.


@page {
  padding: 3em;


The target size and orientation of the page box's containing block are specified. When one page box is rendered onto a single page sheet, the size of the destination page sheet is also indicated.
Cropping and/or registration marks are added to the document.
The extent to which the page rendering is clipped beyond the page box.

We use cookies to improve your experience. Learn more in our Privacy policy.