"Basic Grid Columns Example"
Bootstrap 3.0.0 Snippet by mwood073

<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div class="container"> <h1 class="page-header">Grid Columns</h1> <h4>Two Columns</h4> <div class="row"> <div class="col-md-4">.col-md-4</div> <div class="col-md-8">.col-md-8</div> </div> <h4>Three Columns <span>(reset width on responsive)</span></h4> <div class="row"> <div class="col-md-4">.col-md-4</div> <div class="col-md-4">.col-md-4</div> <div class="col-md-4">.col-md-4</div> </div> <h4>Three Columns <span>(no reset on responsive)</span></h4> <div class="row"> <div class="col-xs-4 col-md-4">.col-xs-4 .col-md-4</div> <div class="col-xs-4 col-md-4">.col-xs-4 .col-md-4</div> <div class="col-xs-4 col-md-4">.col-xs-4 .col-md-4</div> </div> <h4> </h4> </div> <style> h4{ margin-top:50px; } h4 span{ font-size:13px; color:grey; } [class^="col-"] { background-color: #eee; border: 1px solid #ddd; overflow:hidden; } </style>

Related: See More


Questions / Comments: