Permanently protected template

Difference between revisions of "Template:Break-inside"

From Meta, a Wikimedia project coordination wiki
Jump to navigation Jump to search
m (Reverted changes by 86.176.227.216 (talk) to last version by 121.118.76.85)
Tag: Rollback
Line 1: Line 1:
GIAPZ and Kruixzr
+
GIAPZ and Kruixzr
[[File:Oshwah Picture.jpg|thumb|Glapz and kruizr slap player star in da face]]
+
[[File:Oshwah Picture.jpg|thumb]]
[[File:Oshwah Picture.jpg|Glapz and Kruzir slap playerstar93 in da face]]
 
 
{{#switch:{{lc:{{{1|}}}}}
 
{{#switch:{{lc:{{{1|}}}}}
 
|avoid|avoid-column=<!--
 
|avoid|avoid-column=<!--

Revision as of 22:10, 13 February 2019

GIAPZ and Kruixzr

Oshwah Picture.jpg
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:
    GIAPZ and Kruixzr
Oshwah Picture.jpg

-webkit-column-break-inside:avoid;page-break-inside:avoid;break-inside:avoid-column;

References

See also