box-decoration-break
Important |
|---|
|
This documentation is preliminary and is subject to change. |
Sets how a box is broken at a page break.
Syntax
{ box-decoration-break:
sBreak
}
Possible values
sBreak
String that specifies one of the following values
|
slice |
Default. No border, padding, box-shadow, border-radius, and border-image are rendered for the whole box as if it were unbroken. |
|
clone |
The border and padding values are inserted at the page break, including border-image, border-radius, and box-shadow values. Any background-image is rendered independently. |
The property has a default value of slice. It is not inherited.
Remarks
For boxes that break across columns, the affected columns are treated as a single, continuous element.
Standards information
This property is defined in CSS Backgrounds and Borders Module Level 3
.
Applies to
a, address, b, big, blockquote, body, button, caption, center, cite, code, col, colgroup, custom, dd, defaults, dfn, div, dl, dt, em, fieldset, form, hn, html, i, img, input type=button, input type=checkbox, input type=file, input type=image, input type=password, input type=radio, input type=reset, input type=submit, input type=text, li, ol, p, s, span, sub, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, var, xmp
Important