Display & Flex Utilities
Display types, visibility, and the full flexbox utility set.
Display Types
d-block (fills its line)
d-inline-block
d-inline
d-flexchild
d-inline-flex •
123
d-none (hidden)
Visibility
visible
invisible
after invisible
The invisible box still reserves layout space (unlike d-none which removes it).
Flex Direction
flex-row (default)
123
flex-row-reverse
123
flex-col
123
Justify Content
justify-start
AB
justify-center
AB
justify-end
AB
justify-between
ABC
justify-around
ABC
justify-evenly
ABC
Align Items
items-start
ABC
items-center
ABC
items-end
ABC
Flex Grow / Shrink
fixed
flex-1 (fills)
fixed
1
1
1
Flex Wrap
1
2
3
4
5
6
Align Content (multi-line)
content-start
12345
content-center
12345
content-between
12345
Order
Source order is 1 → 2 → 3 → 4 but order-* changes the visual flow.
1 (order-3)
2 (order-first)
3 (order-last)
4 (order-2)
CSS Reference
| Class | Description |
|---|---|
.lp-d-{none|block|inline|inline-block|flex|inline-flex|grid} | Display type |
.lp-visible / .lp-invisible | Visibility |
.lp-sr-only | Screen-reader-only (accessible hidden) |
.lp-flex-{row|col|row-reverse|col-reverse} | Flex direction |
.lp-flex-{wrap|nowrap} | Flex wrap |
.lp-justify-{start|end|center|between|around|evenly} | Justify content |
.lp-items-{start|end|center|stretch|baseline} | Align items |
.lp-self-{start|end|center|stretch} | Align self |
.lp-flex-{1|auto|none} | Flex shorthand |
.lp-grow / .lp-grow-0 | Flex grow |
.lp-shrink / .lp-shrink-0 | Flex shrink |
.lp-content-{start|end|center|between|around|stretch} | Align content (multi-line) |
.lp-order-{0..12} | Visual order |
.lp-order-{first|last} | Move to start / end |
.lp-d-{sm|md|lg|xl|2xl}-{type} | Responsive display (breakpoint-up) |