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.
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 |
/* Keyword values */ bleed: auto; /* <length> values */ bleed: 8pt; bleed: 1cm;
auto
6pt
if the value of marks
is crop
. Otherwise it computes to zero.<length>
auto | <length>
@page { bleed: 1cm; }
Specification | Status | Comment |
---|---|---|
CSS Paged Media Module Level 3 The definition of 'bleed' in that specification. | Working Draft | Initial definition |
Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari (WebKit) |
---|---|---|---|---|---|
Basic support | ? | ? | ? | ? | ? |
Feature | Android | Firefox Mobile (Gecko) | IE Phone | Opera Mobile | Safari Mobile |
---|---|---|---|---|---|
Basic support | ? | ? | ? | ? | ? |
© 2005–2017 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/CSS/@page/bleed