CSS paged media
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.
Reference
Properties
At-rules
@page
page-orientation
descriptorsize
descriptor- 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-after
propertybreak-before
propertybreak-inside
propertyorphans
propertywidows
property
Specifications
Specification |
---|
CSS Paged Media Module Level 3 |
See also
- Printing guide
- CSS fragmentation module
- CSS media queries module