Skip to content

Stack

A stack puts elements on top of each other.

Stack documentation

Class names

  • component: stack
  • modifier: stack-top, stack-bottom, stack-start, stack-end

Syntax

<div class="stack {MODIFIER}">{CONTENT}</div>

Rules

  • {MODIFIER} is optional. It can be one of the modifier class names.
  • Use the w-* and h-* classes to set the stack width and height. These classes make all items the same size.