Answers for "bootstrap 4 grid nested rows"

2

bootstrap grid 2 rows

<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css" rel="stylesheet"/>


<div class="row">
    <div class="col-md-4">
        <div class="well">1
            <br/>
            <br/>
            <br/>
            <br/>
            <br/>
        </div>
    </div>
    <div class="col-md-8">
        <div class="row">
            <div class="col-md-6">
                <div class="well">2</div>
            </div>
            <div class="col-md-6">
                <div class="well">3</div>
            </div>
        </div>
        <div class="row">
            <div class="col-md-6">
                <div class="well">4</div>
            </div>
            <div class="col-md-6">
                <div class="well">5</div>
            </div>
        </div>
    </div>
</div>
<div class="row">
    <div class="col-md-4">
        <div class="well">6</div>
    </div>
    <div class="col-md-4">
        <div class="well">7</div>
    </div>
    <div class="col-md-4">
        <div class="well">8</div>
    </div>
</div>
Posted by: Guest on October-07-2020
0

nested columsn inside bootstrap

<div class="container-fluid">
  <div class="col-lg-12">
      <div class="row">
        <div class="col-sm-6">
            <div class="well">
              <p>First Part</p>
            </div>
        </div>
        <div class="col-sm-6">
            <div class="well">
              <p>Second Part</p>
            </div>
        </div>
      </div>
        <div class="row">
            <div class="col-sm-6">
              <div class="well">
                <div class="row">
                  <div class="col-md-6">
                    <div class="well">
                    <p>Nested 1</p>
                  </div>
                  </div>
                  <div class="col-md-6">
                    <div class="well">
                    <p>Nested 2</p>
                  </div>
                  </div>
                </div>
                <div class="row">
                  <div class="col-md-6">
                    <div class="well">
                    <p>Nested 3</p>
                  </div>
                  </div>
                  <div class="col-md-6">
                    <div class="well">
                    <p>Nested 4</p>
                  </div>
                  </div>
                </div>
            </div>

            </div>
            <div class="col-sm-6">
              <div class="well">
                <p>Fourth Part[enter image description here][1]</p>
                </div>
              </div>
          </div>
    </div>                      
</div>
Posted by: Guest on November-25-2020

Browse Popular Code Answers by Language