nested columns bootstrap 4 code example

Example 1: no-gutter bootstrap 4

<div class="row no-gutters">
  <div class="col-12 col-sm-6 col-md-8">.col-12 .col-sm-6 .col-md-8</div>
  <div class="col-6 col-md-4">.col-6 .col-md-4</div>
</div>

Example 2: bootstrap grids examples

<div class="container">
  <div class="row">
    <div class="col-md-8">.col-md-8</div>
    <div class="col-md-4">.col-md-4</div>
  </div>
</div>

Example 3: Bootstrap 4 Grid

<!-- Control the column width, and how they should appear on different devices -->
<div class="row">
  <div class="col-*-*"></div>
  <div class="col-*-*"></div>
</div>
<div class="row">
  <div class="col-*-*"></div>
  <div class="col-*-*"></div>
  <div class="col-*-*"></div>
</div>

<!-- Or let Bootstrap automatically handle the layout -->
<div class="row">
  <div class="col"></div>
  <div class="col"></div>
  <div class="col"></div>
</div>

Example 4: 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>