Skip to content
Justice Tech School

Flex Utilities

d-flex plus utilities build flexible rows.

Example
<div class="d-flex justify-content-between align-items-center p-2">
  <span>Left</span>
  <span>Right</span>
</div>
<div class="d-flex flex-column gap-2">...</div>

Exercise

Column direction.

class="d-flex flex-"

Quiz Test

Which makes a flex container?

These free lessons are for learning. Join a full course for projects, mentor feedback and a verified certificate.