This is an experimental technologyCheck 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.
Syntax
/* Keyword values */ bleed: auto; /* <length> values */ bleed: 8pt; bleed: 1cm;
Values
auto- Computes to
6ptif the value ofmarksiscrop. 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 definition
| Related at-rule | @page
|
| Initial value | auto
|
| Computed value | as specified |
Formal syntax
auto | <length>
Examples
Setting a page bleed of 1cm
@page {
bleed: 1cm;
}
Specifications
| Specification | Status | Comment |
|---|---|---|
| CSS Paged Media Module Level 3The definition of 'bleed' in that specification. | Working Draft | Initial definition |
Browser compatibility
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
Update compatibility data on GitHub
| Desktop | Mobile | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
bleed descriptor
|
Chrome
No support No |
Edge
No support No |
Firefox
No support No |
IE
No support No |
Opera
No support No |
Safari
No support No |
WebView Android
No support No |
Chrome Android
No support No |
Firefox Android
No support No |
Opera Android
No support No |
Safari iOS
No support No |
Samsung Internet Android
No support No |
Legend
- No support
- No support
See also
bleed by Mozilla Contributors is licensed under CC-BY-SA 2.5.