(Go: >> BACK << -|- >> HOME <<)

Jump to content

Template:Break-inside

Permanently protected template
From Meta, a Wikimedia project coordination wiki
This is an archived version of this page, as edited by Billinghurst (talk | contribs) at 22:12, 13 February 2019 (Protected "Template:Break-inside": Highly transcluded template ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite))). It may differ significantly from the current version.
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Template documentation


Usage

This template generates the equivalent of CSS3 style property break-inside.[1][2]

On Webkit browsers (Safari, Chrome, Opera 15+), it uses the experimental property -webkit-column-break-inside.

Use it in CSS style properties to avoid a column break within a child element of a multi-column element.

Example

  • {{break-inside|avoid}} gives:
    -webkit-column-break-inside:avoid;page-break-inside:avoid;break-inside:avoid-column;

References

See also