aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2013-04-01 12:55:48 -0700
committerMark Otto <[email protected]>2013-04-01 12:55:48 -0700
commita1d64950a9626023e21e03811e580efa7800c66f (patch)
tree3f37b8c1e1e3f953b3c547308f19561124ab6291
parentccb9ecfe441214574298edf8a3859dbf9144bc2b (diff)
downloadbootstrap-a1d64950a9626023e21e03811e580efa7800c66f.tar.xz
bootstrap-a1d64950a9626023e21e03811e580efa7800c66f.zip
only negative indent nested grid rows; add new grid example
-rw-r--r--grid.html56
1 files changed, 56 insertions, 0 deletions
diff --git a/grid.html b/grid.html
new file mode 100644
index 000000000..f2028b8bf
--- /dev/null
+++ b/grid.html
@@ -0,0 +1,56 @@
+---
+layout: example
+title: Grid template
+---
+
+<!-- Custom styles for this template -->
+<style>
+
+ .container {
+ padding-left: 15px;
+ padding-right: 15px;
+ }
+
+ .row {
+ margin-bottom: 20px;
+ margin-left: -15px;
+ margin-right: -15px;
+ }
+ [class*="col-span-"] {
+ padding-top: 15px;
+ padding-bottom: 15px;
+ background-color: #f5f5f5;
+ border: 1px solid #e5e5e5;
+ }
+</style>
+
+
+<div class="container">
+
+ <h2>Bootstrap grids</h2>
+ <p class="lead">Basic grid layouts to get you familiar with building within the Bootstrap grid system.</p>
+
+ <h4>Three equal columns</h4>
+ <div class="row">
+ <div class="col-span-4">.col-span-4</div>
+ <div class="col-span-4">.col-span-4</div>
+ <div class="col-span-4">.col-span-4</div>
+ </div>
+
+ <h4>Three unequal columns</h4>
+ <div class="row">
+ <div class="col-span-3">.col-span-3</div>
+ <div class="col-span-6">.col-span-6</div>
+ <div class="col-span-3">.col-span-3</div>
+ </div>
+
+ <h4>Two columns</h4>
+ <div class="row">
+ <div class="col-span-8">.col-span-8</div>
+ <div class="col-span-4">.col-span-4</div>
+ </div>
+
+ <h4>Full width, single column</h4>
+ <p class="text-muted">No grid classes are necessary for full-width elements.</p>
+
+</div> <!-- /container -->