本站文本内容除另有声明外,转载时均必须注明出处,并遵守CC BY-NC-SA 3.0协议。(转载须知)
本站是中文Minecraft Wiki的镜像站,与Mojang Studios、Weird Gloop没有从属关系。(免责声明)
模板:Column-gap
This template is a shortcut for adding gaps between columns using CSS. It generates the CSS for various browsers. Supported browsers are the current versions of Firefox, Safari and Chrome.
Usage
This template must be used in conjunction with either {{Column-count}}
or {{Column-width}}
. Insert these templates within a style tag of any block-style element:
{{column-gap | [width]}}
The default value is 1em
, which produces no change.
Example
<div style="{{column-count|3}} {{column-gap}}">Lorem ipsum...</div>
(default) will produce:
<div style="{{column-count|3}} {{column-gap|3em}}">Lorem ipsum...</div>
will produce:
See also
{{column-count}}
{{column-width}}
{{column-rule}}