The split element issue

box-decoration-break

Specify how to render an element's border, margin, padding, and shadow when it is split at a page break, or when an inline element spans more than one line.

Property values

Use one of these keywords:

slice The page-split parts of the element are drawn with partial boders and shadows as if the original was rendered as a whole and then cleanly cut into pieces
clone The page-split parts of the element are each drawn with fully complete borders and shadows as if they were two separate elements

Examples

box-decoration-break: slice;
box-decoration-break

style > framing > box-decoration-breakThe split element issue

🔎