Tsallaka zuwa abun ciki
Justice Tech School

Grid System Basics

The grid has 12 columns. Put .col elements inside a .row inside a .container. Columns share the width equally unless you give them a number.

Example
<div class="container">
  <div class="row">
    <div class="col">One</div>
    <div class="col">Two</div>
    <div class="col">Three</div>
  </div>
</div>

Exercise

Number of grid columns.

The grid has  columns

Quiz Test

How many columns does the grid have?

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