Skip to content

Support for bleed and marks css properties

Allow bleed and mark options.

colors-marks are currently not official CSS but can be useful.

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>bleed.html</title>
    <style>
        @page {
            size: 100mm 100mm;
            bleed: 5mm;
            marks: cross crop colors;
        }

        h2 {
            break-inside: avoid;
            break-after: avoid;
        }

    </style>
</head>
<body>
    <h1>Page bleed</h1>
    <p>Page should have a 5m bleed</p>
</body>
</html>
Edited by Jacob Siefer
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information