Utility families

Flexbox

Direction, alignment, order, wrapping and sizing of flex items.

align-items

ai:
Class CSS properties
ai: align-items
  • Keywords: start end center baseline stretch
  • Arbitrary values: no
ai:start
.ai\:start {
  align-items: flex-start;
}

justify-content

jc:
Class CSS properties
jc: justify-content
  • Keywords: start end center between around evenly stretch
  • Arbitrary values: no
jc:start
.jc\:start {
  justify-content: flex-start;
}

flex-direction

fd:
Class CSS properties
fd: flex-direction
  • Keywords: row row-reverse col col-reverse column column-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: wrap nowrap reverse
  • Arbitrary values: no
flw:wrap
.flw\:wrap {
  flex-wrap: wrap;
}

flex

fl:
Class CSS properties
fl: flex
  • Keywords: 1 auto initial none
  • 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: 0 1
  • 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: auto start end center stretch baseline
  • Arbitrary values: no
as:auto
.as\:auto {
  align-self: auto;
}

align-content

ac:
Class CSS properties
ac: align-content
  • Keywords: start end center between around evenly stretch normal
  • Arbitrary values: no
ac:start
.ac\:start {
  align-content: flex-start;
}

place-content

pc:
Class CSS properties
pc: place-content
  • Keywords: start end center between around evenly stretch normal
  • 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: start end center stretch baseline
  • 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: start end center stretch baseline auto
  • Arbitrary values: no
js:start
.js\:start {
  justify-self: start;
}

order

order:
Class CSS properties
order: order
  • Keywords: first last none
  • 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: auto full 1/2 1/3 2/3 1/4 3/4
  • Arbitrary values: yes, in brackets
basis:auto
.basis\:auto {
  flex-basis: auto;
}
basis:8
.basis\:8 {
  flex-basis: 2rem;
}