descriptor

@page/bleed — CSS reference

Requests an area extending beyond the page box for artwork that will be trimmed. auto resolves according to whether crop marks are specified; a length requests a bleed extent. The tested Chromium drops this descriptor, so do not rely on it for press-ready output.

Formal Syntax & Structure

css syntaxcss
@page { bleed: 5mm; }

Working Example

Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>@page/bleed</title><style>body{margin:0}#a{padding:8px;background:rgb(232,237,241);color:rgb(0,0,0);box-sizing:border-box}p{margin:0;font:12px/16px sans-serif}.next{break-before:page}@page{size:300px 400px;margin:40px;bleed:5mm}</style><body><main><p>BODY</p></main></body></html>
CSS Reference