How to put two divs next to a container?

4

How do I put two divs, one on the left side and one on the right side of a container with the bootstrap? Being that you would like the side divs to increase in size according to the screen.

    
asked by anonymous 11.09.2015 / 23:20

2 answers

8

I think the answer to your question is the use of 'fluid containers', ie containers that will occupy 100% of the width available in the layout.

<div class="container-fluid">
  <div class="row">
    <div class="col-lg-2">ESQUERDO</div>
    <div class="col-lg-8">
      <div class="container-fluid">
      </div>
    </div>
    <div class="col-lg-2">DIREITO</div>
  </div>
</div>
    
11.09.2015 / 23:41
3

From what I understand you need three columns, one on the right, the other on the left, with a .container central, right? Take a look at the html I've done and see if this is it. link

    
12.09.2015 / 05:41