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"
Bootstrap 3.2.0 Snippet by
krystenhalvorsen
3.2.0
Preview
HTML
CSS
View Full Screen
Forked from
Fork
Fork this
Parent
828
 
0 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>.col-md-12</h1> <div class="row"> <div class="col-md-12">.col-md-12</div> </div> <h1>.col-md-1</h1> <div class="row"> <div class="col-md-1">one</div> <div class="col-md-1">two</div> <div class="col-md-1">three</div> <div class="col-md-1">four</div> <div class="col-md-1">five</div> <div class="col-md-1">six</div> <div class="col-md-1">seven</div> <div class="col-md-1">eight</div> <div class="col-md-1">nine</div> <div class="col-md-1">ten</div> <div class="col-md-1">eleven</div> <div class="col-md-1">twelve</div> </div> <h1>.col-md-2</h1> <div class="row"> <div class="col-md-2">.col-md-2</div> <div class="col-md-2">.col-md-2</div> <div class="col-md-2">.col-md-2</div> <div class="col-md-2">.col-md-2</div> <div class="col-md-2">.col-md-2</div> <div class="col-md-2">.col-md-2</div> </div> <h1>.col-md-3</h1> <div class="row"> <div class="col-md-3">.col-md-3</div> <div class="col-md-3">.col-md-3</div> <div class="col-md-3">.col-md-3</div> <div class="col-md-3">.col-md-3</div> </div> <h1>.col-md-4</h1> <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> <h1>.col-md-6</h1> <div class="row"> <div class="col-md-6">.col-md-6</div> <div class="col-md-6">.col-md-6</div> </div> <h1>Mixed 4 - 8</h1> <div class="row"> <div class="col-md-8">.col-md-8</div> <div class="col-md-4">.col-md-4</div> </div> <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
Get Shit Done Pro
Questions / Comments:
Post
Posting Guidelines
Formatting
- Now
×
Close
Donate
BTC: 12JxYMYi6Vt3mx3hcmP3B2oyFiCSF3FhYT
ETH: 0xCD715b2E3549c54A40e6ecAaFeB82138148a6c76