Skip to content
Justice Tech School

Alignment in Grid

align-items and justify-content position columns.

Example
<div class="row align-items-center justify-content-between" style="height:200px">
  <div class="col-4">Left</div>
  <div class="col-4">Right</div>
</div>

Exercise

Center vertically.

class="row align-items-"

Quiz Test

Which class spreads items apart?

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