Flexbox

These classes can override a flexbox element's settings ad hoc.

Alignment

Flexbox is a utility that offers space distribution between items in an interface with powerful alignment capabilities.

<property>--<value>

ClassProperty
items--stretchalign-items: stretch
items--startalign-items: flex-start
items--centeralign-items: center
items--endalign-items: flex-end
items--baselinealign-items: baseline
justify--startjustify-content: flex-start
justify--centerjustify-content: center
justify--endjustify-content: flex-end
justify--betweenjustify-content: space-between
justify--aroundjustify-content: space-around
content--startalign-content: flex-start
content--centeralign-content: center
content--endalign-content: flex-end
content--betweenalign-content: space-between
content--aroundalign-content: space-around
justify-self--autojustify-self: auto
justify-self--startjustify-self: flex-start
justify-self--centerjustify-self: center
justify-self--endjustify-self: flex-end
align-self--autoalign-self: auto
align-self--startalign-self: flex-start
align-self--centeralign-self: center
align-self--endalign-self: flex-end
align-self--stretchalign-self: stretch
flex--middlejustify-content: center
align-items: center
text-align: center

Direction

Specify how flex items are placed in the flex container

flex--<value>

ClassProperty
flex--rowflex-direction: row
flex--row-reverseflex-direction: row-reverse
flex--colflex-direction: column
flex--col-reverseflex-direction: column-reverse

Grow & Shrink

Specify the flex grow factor of a flex item

flex--<value>

ClassProperty
flex--initialflex: initial
flex--1flex: 1
flex--autoflex: auto
flex--noneflex: none
flex--growflex-grow: 1
flex--shrinkflex-shrink: 1
flex--no-growflex-grow: 0
flex--no-shrinkflex-shrink: 0

Order

Specify the order used to lay out an item in its flex container

order--<order>@<bp>

ClassProperty
order--1order: 1
order--1@torder: 1
order--2order: 2
order--3order: 3
order--4order: 4
order--5order: 5
order--6order: 6
order--7order: 7
order--8order: 8
order--9order: 9

Wrapping

Specify whether flex items are forced into a single line or can be wrapped onto multiple lines

flex--<value>

ClassProperty
flex--wrapflex-wrap: wrap
flex--wrap-reverseflex-wrap: wrap-reverse
flex--no-wrapflex-wrap: nowrap