CSS break inside Property
CSS break-inside Property
The break-inside property is used to determine whether or not a page break, column break, or region break should occur inside the specified element. Using break-inside, we can tell the browser to break the page, column, or region inside the element to avoid breaks inside images, code snippets, tables, and lists.
Default Value:-
Its default value is auto.
Syntax:-
Its syntax is:- break-inside: auto | avoid | avoid-column | avoid-page | avoid-region | initial | inherit;
Further Explanation:-
Value | Description |
---|---|
auto | Automatic break inside the element |
avoid | Avoid a break inside the element |
avoid-column | Avoid a column break inside the element |
avoid-page | Avoid a page break inside the element |
avoid-region | Avoid a region-break inside the element |
initial | Sets this property to its default value. |
inherit | Inherits this property from its parent element. |