Skip navigation

Components / Layout

Stack

Add consistent spacing between a sequence of regions.

div.stack > regions
Try it
This is the first block.
This second block has space after it.
The final block has no trailing space.
<div class="spacing-example stack"><div >This is the first block.</div><div >This second block has space after it.</div><div >The final block has no trailing space.</div></div>
Class or attributeWhat it does
stackLayout-gap between direct children.