Documentation Index
Fetch the complete documentation index at: https://skelementorcss.com/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Direction utilities control the main axis of a flex container. Add.flex first, then apply one of the direction helpers to the same parent.
| Class | CSS |
|---|---|
.flex-row | flex-direction: row; |
.flex-col | flex-direction: column; |
.flex-row-reverse | flex-direction: row-reverse; |
.flex-col-reverse | flex-direction: column-reverse; |
Row
.flex-row lays items out horizontally from left to right. This is the default direction for flex containers and is useful for navigation bars, button groups, and inline card rows.
Row Reverse
.flex-row-reverse reverses the horizontal direction so items flow from right to left. The DOM order stays the same but visual order flips. Use this when you need mirrored layouts without changing markup.
Column
.flex-col stacks items vertically from top to bottom. This is the go-to direction for form fields, stacked card bodies, and sidebar navigation.
Column Reverse
.flex-col-reverse stacks items from bottom to top. This is helpful for chat-style UIs or timeline patterns where the newest item should appear at the bottom of the markup but visually sit at the top.
Responsive Structure
Use the responsive suffix system for structural shifts at specific breakpoints:Best Practices
- Add
.flexfirst, then apply direction helpers to the same parent. - Use
.flex-colfor stacked groups such as forms, settings panels, and button clusters. - Use reverse helpers sparingly when visual order must change but markup stays fixed.
Related Utilities
Flex
Start with the base flex container utility
Flex Wrap
Let directional rows wrap naturally when needed

