Jump to content

Template:Break-before

From Meta, a Wikimedia project coordination wiki
Template documentation


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]
  1. CSS Multi-column Layout Module, W3C specification.

See also

[edit]