This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The bleed
CSS at-rule descriptor, used with the @page
at-rule, 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 | as each of the properties of the shorthand: |
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 |
Desktop | ||||||
---|---|---|---|---|---|---|
Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | |
Basic support | ? | ? | ? | ? | ? | ? |
Mobile | |||||||
---|---|---|---|---|---|---|---|
Android webview | Chrome for Android | Edge Mobile | Firefox for Android | Opera for Android | iOS Safari | Samsung Internet | |
Basic support | ? | ? | ? | ? | ? | ? | ? |
© 2005–2018 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