Menu
Samaritan's Purse

BOX-DECORATION-BREAK

The box-decoration-break property controls the decoration of the box when a break splits the box.

SYNTAX

CSS

box-decoration-break: value;

JS

object.style.boxDecorationBreak = "value";

VALUES

<'box-decoration-break'> = slice | clone
slice

Each fragment is rendered as though there are no breaks.

clone

Each fragment is independently wrapped with the border, padding, and margin.

INITIAL

slice

EXAMPLES

CLONE

SLICE

JS

World Wide Web Consortium (W3C)