You are here: Reference > CSS > properties > browser specific extensions > -webkit-column-break-after
-webkit-column-break-after property
Specifies whether a column break should occur after an element.
JavaScript page for this property: webkitColumnBreakAfter. You can find other example(s) there. |
Possible values:
One of the following values:
Always force a column break after the element. | |||||||
Default. Insert a column break after the element when necessary. | |||||||
Avoid a column break after the current element. | |||||||
Takes the value of this property from the computed style of the parent element. |
Default: auto.
Example HTML code 1:
This is only a demonstration of how the -webkit-column-break-after property should work, but it doesn't take any effect in Google Chrome and Safari:
|
|||
<head> <style> #container { -webkit-column-count: 4; -webkit-column-width: 140px; -webkit-column-rule-width : 3px; -webkit-column-rule-style : solid; -webkit-column-rule-color : red; } h1 { -webkit-column-break-after: always; } </style> </head> <body> <div id="container"> <h1>The header of the first column</h1> Some content within <h1>The header of the second column</h1> Some content within <h1>The header of the third column</h1> Some content within <h1>The header of the fourth column</h1> Some content within </div> </body> |
|||
|
|||
Did you find this example helpful?
|
Supported by tags:
a, abbr, acronym, address, b, bdo, big, blockQuote, body, caption, center, cite, code, dd, del, dfn, dir, div, dl, dt, em, fieldSet, font, form, H1, H2, H3, H4, H5, H6, html, i, ins, isIndex, kbd, label, legend, li, marquee, menu, ol, p, pre, q, s, samp, small, span, strike, strong, sub, sup, table, td, textArea, th, tt, u, ul, var, xmp
Related pages:
-webkit-column-break-before
-webkit-column-break-inside
-moz-column-count
-moz-column-gap
-webkit-column-rule
-webkit-column-rule-color
-webkit-column-rule-style
-webkit-column-rule-width
-moz-column-width
-webkit-column-break-inside
-moz-column-count
-moz-column-gap
-webkit-column-rule
-webkit-column-rule-color
-webkit-column-rule-style
-webkit-column-rule-width
-moz-column-width
External links:
User Contributed Comments