C
C
copyerfiled2018-02-22 20:59:12
css
copyerfiled, 2018-02-22 20:59:12

How to make a column in the full height of the page in BOOTSTRAP 4?

Good afternoon!
Tell me, is it possible using BOOTSTRAP 4 to implement a fixed side menu that occupies the entire height (length) of the page?
Actually, what to tell, the closest example is this site.
If possible, how is it done correctly? What materials to study for understanding?
Found another solution in the form of a side menu plugin: www.jasny.net/bootstrap

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
IIIu6ko, 2018-02-22
@copyerfiled

<div class="container">
  <div class="row">
    <div class="col-2 sidebar">
      sidebar
    </div>
    <div class="col-10 offset-2">
      content
    </div>
  </div>
</div>

.sidebar {
  position: fixed;
  height: 100vh;
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question