Toggle navigation
Bootsnipp
Bootstrap
For
CSS Frameworks
Bootstrap
Foundation
Semantic UI
Materialize
Pure
Bulma
References
CSS Reference
Tools
Community
Page Builder
Form Builder
Button Builder
Icon Search
Dan's Tools
Diff / Merge
Color Picker
Keyword Tool
Web Fonts
.htaccess Generator
Favicon Generator
Site Speed Test
Snippets
Featured
Tags
By Bootstrap Version
4.1.1
4.0.0
3.3.0
3.2.0
3.1.0
3.0.3
3.0.1
3.0.0
2.3.2
Register
Login
"ALL Grids Cheat Sheet - Templates"
Bootstrap 3.2.0 Snippet by
mrmccormack
3.2.0
grid
template
Preview
HTML
CSS
View Full Screen
Fork
Fork this
9.7K
 
2 Fav
Post to Facebook
Tweet this
<link href="//netdna.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.2.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"> <div class="row"> <h2>ALL Grids Cheat Sheet</h2> <p> <a href="http://bootsnipp.com/iframe/n8x3v" target="_blank">full screen</a> </p> <p> <span class="label label-danger">CSS Tip:</span> CSS wild cards are used to style all col's! </p> <h1>Spans One</h1> <div class="row"> <div class="col-md-12">Spans One</div> </div> <h1>Spans Twelve</h1> <div class="row"> <div class="col-md-1">Spans Twelve</div> <div class="col-md-1">Spans Twelve</div> <div class="col-md-1">Spans Twelve</div> <div class="col-md-1">Spans Twelve</div> <div class="col-md-1">Spans Twelve</div> <div class="col-md-1">Spans Twelve</div> <div class="col-md-1">Spans Twelve</div> <div class="col-md-1">Spans Twelve</div> <div class="col-md-1">Spans Twelve</div> <div class="col-md-1">Spans Twelve</div> <div class="col-md-1">Spans Twelve</div> <div class="col-md-1">Spans Twelve</div> </div> <h1>Spans Six</h1> <div class="row"> <div class="col-md-2">Spans Six</div> <div class="col-md-2">Spans Six</div> <div class="col-md-2">Spans Six</div> <div class="col-md-2">Spans Six</div> <div class="col-md-2">Spans Six</div> <div class="col-md-2">Spans Six</div> </div> <h1>Spans Four</h1> <div class="row"> <div class="col-md-3">Spans Four</div> <div class="col-md-3">Spans Four</div> <div class="col-md-3">Spans Four</div> <div class="col-md-3">Spans Four</div> </div> <h1>Spans Three</h1> <div class="row"> <div class="col-md-4">Spans Three</div> <div class="col-md-4">Spans Three</div> <div class="col-md-4">Spans Three</div> </div> <h1>Spans TWO</h1> <div class="row"> <div class="col-md-6">Spans TWO</div> <div class="col-md-6">Spans TWO</div> </div> <h1>Spans Four / Eight</h1> <div class="row"> <div class="col-md-4">Spans 4</div> <div class="col-md-8">Spans 8</div> </div> <br><br><br><br> <p> <a href="http://validator.w3.org/check?uri=http%3A%2F%2Fbootsnipp.com%2Fiframe%2Fn8x3v" target="_blank"><small>HTML</small><sup>5</sup></a> </p> </div> </div>
/* http://www.sitepoint.com/web-foundations/css3-attribute-selectors/ */ div[class^="col-"], div[class*=" tocolor-"] { background-color: #eee; border: 1px solid black; text-align:center; }
Related:
See More
Template
Vue Black Dashboard Pro
Questions / Comments:
Post
Posting Guidelines
Formatting
- Now
×
Close
Donate
BTC: 12JxYMYi6Vt3mx3hcmP3B2oyFiCSF3FhYT
ETH: 0xCD715b2E3549c54A40e6ecAaFeB82138148a6c76