这是
实验性技术
检查
浏览器兼容性表格
要小心谨慎在生产中使用这之前。
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
特性。
/* 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>
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.
| 相关 at-rule |
@page
|
|---|---|
| 初始值 |
auto
|
| 计算值 | 如指定 |
auto | <length>
@page {
bleed: 1cm;
}
| 规范 | 状态 | 注释 |
|---|---|---|
|
CSS Paged Media Module Level 3
The definition of 'bleed' in that specification. |
工作草案 | 初始定义 |
| Desktop | Mobile | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
bleed
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 |
不支持