Tsallaka zuwa abun ciki
Justice Tech School

Project: Dashboard Layout

Sidebar and main area with grid.

Example
<div class="container-fluid">
  <div class="row">
    <nav class="col-md-3 col-lg-2 bg-dark text-white min-vh-100">Menu</nav>
    <main class="col-md-9 col-lg-10 p-4">Content</main>
  </div>
</div>

Exercise

Min height.

class="min-vh-"

Quiz Test

Why two col classes?

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