"Bootstrap Grid"
Bootstrap 3.3.0 Snippet by feehsu

<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="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div class="container"> <legend> Bootstrap Grid</legend> <div class="row"> <div class="col-md-1 col-md-offset-0 MyDiv"> <code>col-md-1 </code> </div> <div class="col-md-1 col-md-offset-0 MyDiv"> <code>col-md-1 </code> </div> <div class="col-md-1 col-md-offset-0 MyDiv"> <code>col-md-1 </code> </div> <div class="col-md-1 col-md-offset-0 MyDiv"> <code>col-md-1 </code> </div> <div class="col-md-1 col-md-offset-0 MyDiv"> <code>col-md-1 </code> </div> <div class="col-md-1 col-md-offset-0 MyDiv"> <code>col-md-1 </code> </div> <div class="col-md-1 col-md-offset-0 MyDiv"> <code>col-md-1 </code> </div> <div class="col-md-1 col-md-offset-0 MyDiv"> <code>col-md-1 </code> </div> <div class="col-md-1 col-md-offset-0 MyDiv"> <code>col-md-1 </code> </div> <div class="col-md-1 col-md-offset-0 MyDiv"> <code>col-md-1 </code> </div> <div class="col-md-1 col-md-offset-0 MyDiv"> <code>col-md-1 </code> </div> <div class="col-md-1 col-md-offset-0 MyDiv"> <code>col-md-1 </code> </div> </div> <div class="row"> <div class="col-md-2 col-md-offset-0 MyDiv"> <code>col-md-2 col-md-offset-0</code> </div> <div class="col-md-2 col-md-offset-0 MyDiv"> <code>col-md-2 col-md-offset-0</code> </div> <div class="col-md-2 col-md-offset-0 MyDiv"> <code>col-md-2 col-md-offset-0</code> </div> <div class="col-md-2 col-md-offset-0 MyDiv"> <code>col-md-2 col-md-offset-0</code> </div> <div class="col-md-2 col-md-offset-0 MyDiv"> <code>col-md-2 col-md-offset-0</code> </div> <div class="col-md-2 col-md-offset-0 MyDiv"> <code>col-md-2 col-md-offset-0</code> </div> </div> <div class="row"> <div class="col-md-3 col-md-offset-0 MyDiv"> <code>col-md-3 col-md-offset-0</code> </div> <div class="col-md-3 col-md-offset-0 MyDiv"> <code>col-md-3 col-md-offset-0</code> </div> <div class="col-md-3 col-md-offset-0 MyDiv"> <code>col-md-3 col-md-offset-0</code> </div> <div class="col-md-3 col-md-offset-0 MyDiv"> <code>col-md-3 col-md-offset-0</code> </div> </div> <div class="row"> <div class="col-md-4 col-md-offset-0 MyDiv"> <code>col-md-4 col-md-offset-0</code> </div> <div class="col-md-4 col-md-offset-0 MyDiv"> <code>col-md-4 col-md-offset-0</code> </div> <div class="col-md-4 col-md-offset-0 MyDiv"> <code>col-md-4 col-md-offset-0</code> </div> </div> <div class="row"> <div class="col-md-5 col-md-offset-1 MyDiv"> <code>col-md-5 col-md-offset-1</code> </div> <div class="col-md-5 MyDiv"> <code>col-md-5</code> </div> </div> <div class="row"> <div class="col-md-5 MyDiv"> <code>col-md-5 </code> </div> <div class="col-md-5 col-md-offset-2 MyDiv"> <code>col-md-5 col-md-offset-2</code> </div> </div> <div class="row"> <div class="col-md-5 col-md-offset-0 MyDiv"> <code>col-md-5 col-md-offset-0</code> </div> <div class="col-md-2 col-md-offset-0 MyDiv"> <code>col-md-2 col-md-offset-0</code> </div> <div class="col-md-5 col-md-offset-0 MyDiv"> <code>col-md-5 col-md-offset-0</code> </div> </div> <div class="row"> <div class="col-md-6 col-md-offset-0 MyDiv"> <code>col-md-6 col-md-offset-0 </code> </div> <div class="col-md-6 col-md-offset-0 MyDiv"> <code>col-md-6 col-md-offset-0 </code> </div> </div> <div class="row"> <div class="col-md-7 col-md-offset-0 MyDiv"> <code>col-md-7 col-md-offset-0 </code> </div> <div class="col-md-5 col-md-offset-0 MyDiv"> <code>col-md-5 col-md-offset-0 </code> </div> </div> <div class="row"> <div class="col-md-8 col-md-offset-0 MyDiv"> <code>col-md-8 col-md-offset-0 </code> </div> <div class="col-md-4 col-md-offset-0 MyDiv"> <code>col-md-4 col-md-offset-0 </code> </div> </div> <div class="row"> <div class="col-md-9 col-md-offset-0 MyDiv"> <code>col-md-9 col-md-offset-0 </code> </div> <div class="col-md-3 col-md-offset-0 MyDiv"> <code>col-md-3 col-md-offset-0 </code> </div> </div> <div class="row"> <div class="col-md-10 col-md-offset-0 MyDiv"> <code>col-md-10 col-md-offset-0 </code> </div> <div class="col-md-2 col-md-offset-0 MyDiv"> <code>col-md-2 col-md-offset-0 </code> </div> </div> <div class="row"> <div class="col-md-11 col-md-offset-0 MyDiv"> <code>col-md-11 </code> </div> <div class="col-md-1 col-md-offset-0 MyDiv"> <code>col-md-1 </code> </div> </div> <div class="row"> <div class="col-md-12 col-md-offset-0 MyDiv"> <code>col-md-12 col-md-offset-0 </code> </div> </div> <div class="row"> <div class="col-md-3 col-md-offset-0 MyDiv"> <code>col-md-3 col-md-offset-0 </code> </div> <div class="col-md-4 col-md-offset-1 MyDiv"> <code>col-md-3 col-md-offset-1 </code> </div> <div class="col-md-3 col-md-offset-1 MyDiv"> <code>col-md-3 col-md-offset-1 </code> </div> </div> </div>
.MyDiv { background-color: white; color: black; text-align: center; padding: 3px; border: 1px solid black; } .row { background-color: #2c3e50; color: white; padding: 10px; }

Related: See More


Questions / Comments: