Utility families
Flexbox
Direction, alignment, order, wrapping and sizing of flex items.
align-items
ai:| Class | CSS properties |
|---|---|
ai: |
align-items |
-
Keywords:
startendcenterbaselinestretch - Arbitrary values: no
ai:start
.ai\:start {
align-items: flex-start;
}
justify-content
jc:| Class | CSS properties |
|---|---|
jc: |
justify-content |
-
Keywords:
startendcenterbetweenaroundevenlystretch - Arbitrary values: no
jc:start
.jc\:start {
justify-content: flex-start;
}
flex-direction
fd:| Class | CSS properties |
|---|---|
fd: |
flex-direction |
-
Keywords:
rowrow-reversecolcol-reversecolumncolumn-reverse - Arbitrary values: no
fd:row
.fd\:row {
flex-direction: row;
}
gap
gap:| Class | CSS properties |
|---|---|
gap: |
gap |
- Theme tokens: spacing
- Arbitrary values: yes, in brackets
gap:8
.gap\:8 {
gap: 2rem;
}
flex-wrap-standalone
wrap
nowrap
wrap-reverse
| Class | Declarations |
|---|---|
wrap |
flex-wrap: wrap |
nowrap |
flex-wrap: nowrap |
wrap-reverse |
flex-wrap: wrap-reverse |
wrap.wrap {
flex-wrap: wrap;
}
nowrap.nowrap {
flex-wrap: nowrap;
}
flex-wrap
flw:| Class | CSS properties |
|---|---|
flw: |
flex-wrap |
-
Keywords:
wrapnowrapreverse - Arbitrary values: no
flw:wrap
.flw\:wrap {
flex-wrap: wrap;
}
flex
fl:| Class | CSS properties |
|---|---|
fl: |
flex |
-
Keywords:
1autoinitialnone - Arbitrary values: yes, in brackets
fl:1
.fl\:1 {
flex: 1 1 0%;
}
flex-grow-shrink
grow:
shrink:
| Class | CSS properties |
|---|---|
grow: |
flex-grow |
shrink: |
flex-shrink |
-
Keywords:
01 - Arbitrary values: yes, in brackets
grow:0
.grow\:0 {
flex-grow: 0;
}
shrink:0
.shrink\:0 {
flex-shrink: 0;
}
align-self
as:| Class | CSS properties |
|---|---|
as: |
align-self |
-
Keywords:
autostartendcenterstretchbaseline - Arbitrary values: no
as:auto
.as\:auto {
align-self: auto;
}
align-content
ac:| Class | CSS properties |
|---|---|
ac: |
align-content |
-
Keywords:
startendcenterbetweenaroundevenlystretchnormal - Arbitrary values: no
ac:start
.ac\:start {
align-content: flex-start;
}
place-content
pc:| Class | CSS properties |
|---|---|
pc: |
place-content |
-
Keywords:
startendcenterbetweenaroundevenlystretchnormal - Arbitrary values: no
pc:start
.pc\:start {
place-content: flex-start;
}
justify-items
ji:
pi:
| Class | CSS properties |
|---|---|
ji: |
justify-items |
pi: |
place-items |
-
Keywords:
startendcenterstretchbaseline - Arbitrary values: no
ji:start
.ji\:start {
justify-items: start;
}
pi:start
.pi\:start {
place-items: start;
}
justify-self
js:| Class | CSS properties |
|---|---|
js: |
justify-self |
-
Keywords:
startendcenterstretchbaselineauto - Arbitrary values: no
js:start
.js\:start {
justify-self: start;
}
order
order:| Class | CSS properties |
|---|---|
order: |
order |
-
Keywords:
firstlastnone - Arbitrary values: yes, in brackets
- Negative values: yes
order:first
.order\:first {
order: -9999;
}
order:50
.order\:50 {
order: 50;
}
flex-basis
basis:| Class | CSS properties |
|---|---|
basis: |
flex-basis |
- Theme tokens: spacing
-
Keywords:
autofull1/21/32/31/43/4 - Arbitrary values: yes, in brackets
basis:auto
.basis\:auto {
flex-basis: auto;
}
basis:8
.basis\:8 {
flex-basis: 2rem;
}