PageFactory (Kirby Plugin)

Vgap()

vgap()

Inserts a vertical gap of given height.

Arguments

gapSize
Height of inserted space. Use any form allowed in CSS, e.g. 3em, 20px or 1cm. (default: 1em)
class
Class applied to DIV (default: )
line
[true or border-style] Draws a horizontal line, e.g. line:'0.5em dashed #faa'

Example

AAA
{{ vgap(2em) }}
BBB

AAA

 

BBB

Short-hand

There is also a variable vgap, which renders a space of 1.4em width.

AAA
{{ vgap }}
BBB

AAA

 

BBB

PageFactory