This is an experimental technology
Because this technology's specification has not stabilized, check the compatibility table for usage in various browsers. Also note that the syntax and behavior of an experimental technology is subject to change in future versions of browsers as the specification changes.
Summary
The bleed
at-rule descriptor specifies the extent of the page bleed area outside the page box. This property only has effect if crop marks are enabled using the marks
property.
Related at-rule | @page |
---|---|
Initial value | auto |
Media | visual, paged |
Computed value | as specified |
Canonical order | the unique non-ambiguous order defined by the formal grammar |
Syntax
/* Keyword values */ bleed: auto; /* <length> values */ bleed: 8pt; bleed: 1cm;
Values
auto
- Computes to
6pt
if the value ofmarks
iscrop
. Otherwise it computes to zero. <length>
- Specifies by how far outward, in each direction, the bleed area extends past the page box. Values may be negative, but there may be implementation-specific limits.
Formal syntax
How to read CSS syntax.auto | <length>
Example
@page { bleed: 1cm; }
Specifications
Specification | Status | Comment |
---|---|---|
CSS Paged Media Module Level 3 The definition of 'bleed' in that specification. |
Working Draft | Initial definition |