"Box"
Bootstrap 3.3.0 Snippet by gameza5463

<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div class="container"> <div class="row"> <div class="col-md-12 col-xs-12 col-sm-12"> <div class="col-md-6 col-xs-12 box1"> box 1 <div class="clearfix"></div> <div class="col-md-6 subbox1"> subbox1 </div> <div class="col-md-6 col-xs-12 box2"> box2 <div class="clearfix"></div> <div class="col-md-6 subbox2"> subbox2-1 </div> <div class="clearfix"></div> <div class="col-md-6 subbox2-2"> subbox2-2 </div> </div> </div> </div> </div> </div>
.box1{ padding:10px; margin:10px auto; border:1px solid #ddd; } .box2{ padding:10px; margin:10px auto; border:1px solid red; } .subbox1{ padding:10px; margin:10px auto; /*width:100%;*/ /*height:100%;*/ background:green; } .subbox2{ padding:10px; margin:10px auto; width:100%; background:green; } .subbox2-2{ padding:10px; margin:10px auto; width:100%; background:blue; }

Related: See More


Questions / Comments: