Format:
.flex-direction-{value}
Values:
Example:
<div class="display-flex flex-direction-row-reverse">
<div class="padding-3 margin-3 background-primary">
column 1
</div>
<div class="padding-3 margin-3 background-primary">
column 2
</div>
<div class="padding-3 margin-3 background-primary">
column 3
</div>
</div>
Format:
.flex-{value}
Values:
Example:
<div class="display-flex flex-wrap">
<div class="padding-3 background-primary" style="width: 50%;">
column 1
</div>
<div class="padding-3 background-primary" style="width: 50%;">
column 2
</div>
<div class="padding-3 background-primary" style="width: 50%;">
column 3
</div>
</div>
Format:
.justify-content-{value}
Values:
Example:
<div class="display-flex justify-content-center">
<div class="padding-3 margin-3 background-primary">
column 1
</div>
<div class="padding-3 margin-3 background-primary">
column 2
</div>
<div class="padding-3 margin-3 background-primary">
column 3
</div>
</div>
Format:
.align-items-{value}
Values:
Example:
<div class="display-flex align-items-center" style="height: 200px;">
<div class="padding-3 margin-3 background-primary">
column 1
</div>
<div class="padding-3 margin-3 background-primary">
column 2
</div>
<div class="padding-3 margin-3 background-primary">
column 3
</div>
</div>
Format:
.align-content-{value}
Values:
Example:
<div class="display-flex flex-wrap align-content-center" style="height: 200px;">
<div class="padding-3 background-primary" style="width: 50%;">
column 1
</div>
<div class="padding-3 background-primary" style="width: 50%;">
column 2
</div>
<div class="padding-3 background-primary" style="width: 50%;">
column 3
</div>
</div>
Format:
.gap-{0..5}
Example:
<div class="display-flex gap-3">
<div class="padding-3 background-primary">
column 1
</div>
<div class="padding-3 background-primary">
column 2
</div>
<div class="padding-3 background-primary">
column 3
</div>
</div>
Format:
.align-self-${value}
Values:
Example:
<div class="display-flex" style="height: 200px;">
<div class="padding-3 background-primary align-self-flex-start">
column 1
</div>
<div class="padding-3 background-primary align-self-center">
column 2
</div>
<div class="padding-3 background-primary align-self-flex-end">
column 3
</div>
</div>
Add @{screen}
after class name.
Example:
<div class="display-flex flex-direction-column flex-direction-row@laptop">
<div class="padding-3 background-primary">
column 1
</div>
<div class="padding-3 background-primary">
column 2
</div>
<div class="padding-3 background-primary">
column 3
</div>
</div>