这是
实验性技术
检查
浏览器兼容性表格
要小心谨慎在生产中使用这之前。
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.
/* Keyword values */ marks: none; marks: crop; marks: cross; marks: crop cross;
crop
Crop marks will be displayed.
cross
Cross marks will be displayed.
none
No marks will be displayed.
| 相关 at-rule |
@page
|
|---|---|
| 初始值 |
none
|
| 计算值 | 如指定 |
none | [ crop || cross ]
@page {
marks: crop cross;
}
| 规范 | 状态 | 注释 |
|---|---|---|
|
CSS Paged Media Module Level 3
The definition of 'marks' in that specification. |
工作草案 | 初始定义 |
This CSS property was initially proposed in CSS Level 2, but was dropped from CSS Level 2 (Revision 1).
| Desktop | Mobile | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
marks
descriptor
|
Chrome 不支持 No | Edge 不支持 No | Firefox 不支持 No | IE 不支持 No | Opera 不支持 No | Safari 不支持 No | WebView Android 不支持 No | Chrome Android 不支持 No | Firefox Android 不支持 No | Opera Android 不支持 No | Safari iOS 不支持 No | Samsung Internet Android 不支持 No |
不支持