Centered Column Row
Commonly used for login forms and landing page heroes.
<div class="wf-row wf-justify-center wf-items-center">
<div class="wf-column wf-screen-6">...</div>
</div>
The Row/Column system is a 10-unit flexible flexbox distribution utility. While the Grid system is ideal for two-dimensional layouts, Rows are better suited for one-dimensional alignment and distribution of UI elements with variable content widths.
Commonly used for login forms and landing page heroes.
<div class="wf-row wf-justify-center wf-items-center">
<div class="wf-column wf-screen-6">...</div>
</div>
Observe how the 4-column layout on desktop ( 3/2/1/4 ) switches to 2-columns on ( 4/2/2/2 ) tablet and full-width on mobile.
<div class="wf-row wf-gap-3">
<div class="wf-column wf-screen-3 wf-tablet-4">...</div>
<div class="wf-column wf-screen-2 wf-tablet-2">...</div>
<div class="wf-column wf-screen-3 wf-tablet-2">...</div>
<div class="wf-column wf-screen-3 wf-tablet-2">...</div>
</div>
Use wf-items-* to control the flow of items.
<div class="wf-row wf-items-center ...">
<div class="wf-column">...</div>
<div class="wf-column">...</div>
</div>
Use wf-self-* to control the flow of items.
<div class="wf-row ...">
<div class="wf-column wf-self-end">...</div>
<div class="wf-column">...</div>
</div>
Use wf-justify-* to control the distribution of items.
<div class="wf-row wf-justify-between ...">
<div class="wf-column">...</div>
<div class="wf-column">...</div>
<div class="wf-column">...</div>
</div>
Use wf-justify-* to control the distribution of items.
<div class="wf-row wf-justify-around ...">
<div class="wf-column">...</div>
<div class="wf-column">...</div>
<div class="wf-column">...</div>
</div>
All modifier classes available on .wf-row and .wf-column
| Class Name | Type | Description |
|---|---|---|
| wf-row | Base | Initializes the flex container with negative margins to offset column padding. |
| wf-column, wf-column-auto | Child | The basic column unit. Defaults to full width on phone screens. |
| wf-screen-1 ... 10 | Breakpoint | Defines the column width on desktop screens (10-column scale). |
| wf-tablet-1 ... 10 | Breakpoint | Defines the column width on tablet screens (10-column scale). |
| wf-justify-* | Alignment | Horizontal distribution: start, center, end, between.
|
| wf-items-* | Alignment | Vertical alignment: start, center, end.
|
| wf-self-* | Alignment | Vertical self alignment: start, center, end.
|