NextCapital HTML Layout

In this example below you will see how to do a NextCapital HTML Layout with some HTML / CSS and Javascript

Thumbnail
This awesome code was written by kautuk-desai, you can see more from this user in the personal repository.
You can find the original code on Codepen.io
Copyright kautuk-desai ©
  • HTML
  • CSS
  • JavaScript
    <div class="container-fluid">
  <div class="row">
    <div id="a-div" class="col-md-12 col-sm-12 all-border">
      <span>A</span>
    </div>
  </div>
  <div id="b-c-section" class="row col-md-12 col-sm-12 separator">
      <div id="b-div" class="col-md-2 col-sm-2 all-border">
        <span>B</span>
      </div>
    
      <div id="c-div" class = "col-md-10 col-sm-10 dotted-border">
        <div id="c1" class="circle">C1</div>
          <div id="c">C</div>
            <div id="c2" class="circle">C2</div>
      </div>
  </div>
  <div id="d-section" class="row col-md-12 col-sm-12">
    <div class="col-md-3"></div>
    <div class="col-md-6" id="d">
      D
    </div>
    <div class="col-md-3"></div>
  </div>
  
  <div id="e-section" class="row col-md-12 col-sm-12">
    <div class="col-md-12">
      E
    </div>
  </div>
  </div>

/*Downloaded from https://www.codeseek.co/kautuk-desai/nextcapital-html-layout-xYjGBv */
    .container-fluid{
  margin-top : 10px;
}
.all-border{
  border: 1px black groove;
}
#a-div{
  text-align: center;
}
.separator{
  margin-top: 1%;
}
#b-c-section{
  height: 60px;
}
#b-div{
  height: 50%;
  padding-left: 0px;
}

.dotted-border{
  border: 1px black dotted;
}

#c-div div{
  width: 2%;
  display: table-cell;
}

#c-div{
      display: table;
    position: relative;
    height: 100%;
}

#c1{
  float:right;
  right:0;
  top: 0;
  position: absolute;
}

#c2{
  float: left;
  left:0;
  bottom:0;
  position:absolute;
}

#c{
  margin: 0 auto;
  display: table-cell;
  vertical-align: middle;
}

.circle{
      border: 1px solid;
    border-radius: 15px;
    text-align: center;
}

#d-section{
  height: 60px;
  display: table;
  width: 100%;
}

#d-section .col-md-3{
  display: table-cell;
    position: relative;
    width: 30%;
}

#d{
      border-left: 1px solid;
    border-right: 1px solid;
    display: table-cell;
    vertical-align: middle;
    width: 40%;
}

#e-section{
  height: 50px;
  border-top: 1px solid black;
  border-bottom: 1px solid black;
  display: table;
}

#e-section div{
  display:table-cell;
  vertical-align: middle;
    text-align: right;
}


/*Downloaded from https://www.codeseek.co/kautuk-desai/nextcapital-html-layout-xYjGBv */
    

Comments