CSS

CSS Intro

CSS Intro Quiz

CSS Intro Exercise

CSS Basic

CSS Basic Quiz

CSS Basic Exercise

CSS Advance

CSS Advance Quiz

CSS Advance Exercise

CSS3

CSS3 Quiz

CSS3 Exercise

CSS Properties

CSS Functions

CSS Selectors

CSS box decoration break Property

CSS box-decoration-break Property

 

 

The box-decoration-break property is used to determine how the background, padding, border, border-image, box-shadow, margin, and clip-path of an element is applied when the box for the element is fragmented.

 

Default Value:-

 

Its default value is slice.

 

Syntax:-

 

Its syntax is:- box-decoration-break: slice | clone | initial | inherit | unset;

 

Further Explanation:-

 

Value Description
slice  Box decorations are applied to the element as a whole and break at the edges of the element fragments
clone Box decorations apply to each fragment of the element as if the fragments were individual elements.
initial Sets this property to its default value.
inherit Inherits this property from its parent element.

Code Explanation

All Tutorials related to CSS Properties

All Sections related to CSS