box-decoration-break

important note重要訊息:

本文件為初步資訊而且可能隨時變更。

設定在分頁之處切割方塊的方式。

語法

{ box-decoration-break: sBreak }

可能的值

sBreak

指定下列其中一個值的字串:

slice

預設值。整個方塊都不會呈現 borderpaddingbox-shadowborder-radiusborder-image ,如同未切割方塊一樣。

clone

borderpadding 值插入分頁之處,包括 border-imageborder-radiusbox-shadow 等值。個別呈現所有背景影像。

此屬性的預設值為 slice 。這不是繼承屬性。

備註

如果方塊跨多欄切割,則會將受影響的各欄視為單一、連續的元素。

標準資訊

您可以在 CSS Backgrounds and Borders Module Level 3 (CSS 背景與框線模組層級 3) Gg721760.xtlink_newWindow(zh-tw,Expression.40).png 找到此屬性的定義。

適用範圍

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

另請參閱

概念

box-shadow
border
border-image
border-radius
padding