This is an experimental technologyCheck the Browser compatibility table carefully before using this in production.
The marks
CSS at-rule descriptor, used with the @page
at-rule, adds crop and/or cross marks to the presentation of the document. Crop marks indicate where the page should be cut. Cross marks are used to align sheets.
Crop marks and cross marks are printed outside the page box. To have room to show crop and cross marks, the final pages will have to be somewhat bigger than the page box.
Syntax
/* Keyword values */ marks: none; marks: crop; marks: cross; marks: crop cross;
Values
crop
- Crop marks will be displayed.
cross
- Cross marks will be displayed.
none
- No marks will be displayed.
Formal definition
Related at-rule | @page
|
Initial value | none
|
Computed value | as specified |
Formal syntax
none | [ crop || cross ]
Examples
Adding crop and cross marks
@page {
marks: crop cross;
}
Specifications
Specification | Status | Comment |
---|---|---|
CSS Paged Media Module Level 3The definition of 'marks' in that specification. | Working Draft | Initial definition |
This CSS property was initially proposed in CSS Level 2, but was dropped from CSS Level 2 (Revision 1).
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 | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
marks 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
marks by Mozilla Contributors is licensed under CC-BY-SA 2.5.