The CSS paged media module defines the properties that control the presentation of content for print or any other media that splits content into discrete pages. It allows you to set page breaks, control printable areas, style left and right pages differently, and control breaks inside elements.
CSS paged media
Reference
Properties
At-rules
-
@page-
page-orientationdescriptor -
sizedescriptor - Margin descriptors
-
- Margin at-rules
Note: CSS paged media module introduces two @page descriptors that have not been implemented: bleeds and marks.
Pseudo-classes
Related concepts
-
CSS fragmentation module
-
break-afterproperty -
break-beforeproperty -
break-insideproperty -
orphansproperty -
widowsproperty
-
Specifications
| Specification |
|---|
| CSS Paged Media Module Level 3 |
See also
- Printing guide
- CSS fragmentation module
- CSS media queries module
© 2005–2024 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_paged_media