Create A Sidebar With Bootstrap 3

Posted By Weston Ganger

Sidebars are made pretty easy with Bootstrap. Heres a small snippet of how to get it done.

html, body, .container-fluid, .row {
  height: 100%;
}
.sidebar {
  background-color: #CCCCCC;
}

@media (min-width: 992px) {
  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 1000;
    display: block;
    background-color: #CCCCCC;
  }
}

Related External Links:

Article Topic:Software Development - HTML / CSS

Date:April 21, 2015