Template:Break-before/doc
Appearance
From Meta, a Wikimedia project coordination wiki
This is a documentation subpage for Template:Break-before.
It contains usage information, categories, and other content that is not part of the original template page.
It contains usage information, categories, and other content that is not part of the original template page.
Usage
[edit ]This template generates the equivalent of CSS3 style property break-before [1]
On Webkit browsers (Safari, Chrome, Chromium), it uses the experimental property -webkit-column-break-before.
Use it in CSS style properties to force a column break before a child element of a multi-column element.
Example
[edit ]{{break-before|always}}gives:-webkit-column-break-before:always;break-before:always;
References
[edit ]- ↑ CSS Multi-column Layout Module, W3C specification.
See also
[edit ]- {{break-inside}}, {{break-after}} — style properties for child elements of multi-column elements.
- {{column-count}}, {{column-width}}, {{column-gap}}, {{column-rule}} — style properties for parent multi-column elements.