Skip to content
Justice Tech School

Column Sizes

Use .col-6, .col-4 and so on to set widths out of 12. Responsive versions such as .col-md-4 apply from that breakpoint. Columns beyond 12 wrap to a new line.

Example
<div class="row">
  <div class="col-12 col-md-8">Main</div>
  <div class="col-6 col-md-4">Side</div>
</div>

Exercise

Half width column.

col-

Quiz Test

What does col-md-4 do from md up?

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