Flex
Display Mode
d-{MODE}
allows you to controls the display mode of elements. Where {MODE}
is either
flex
, or inline-flex
.
Available Breakpoints:
s: <= 768px
m: >= 769px
l: >= 1280px
xl: >= 1920px
d-flex display: inline-flex
d-inline-flex
Code
<span class="d-flex"></span>
<span class="d-inline-flex"></span>
Direction
Code
Apply the class flex-{DIRECTION}
where {DIRECTION}
is row, row-reverse,
column or column-reverse
.
Breakpoint prefixed classes available, using flex-{PREFIX}-{DIRECTION}
where
{PREFIX}
is s, m, l, xl
<span class="flex-row"></span>
<span class="flex-row-reverse"></span>
<span class="flex-column"></span>
<span class="flex-column-reverse"></span>
<span class="flex-wrap"></span>
<span class="flex-nowrap"></span>
Justify Content, Align Items, Align Content
Code
Apply any of the classes above to an element with flexbox
applied.
Breakpoint prefixed classes available, using justify-content-{PREFIX}-{DIRECTION}
, align-items-{PREFIX}-{DIRECTION}
,
align-content-{PREFIX}-{DIRECTION}
where {PREFIX}
is s, m, l, xl
<span class="d-flex flex-row justify-content-around"></span>
<span class="d-flex flex-row justify-content-xl-end"></span>
<span class="d-flex flex-row align-content-evenly"></span>
<span class="d-flex flex-row align-content-s-between"></span>
<span class="d-flex flex-row align-items-start"></span>
<span class="d-flex flex-row align-items-m-stretch"></span>