From eac987c0d2bdb93ea4c916d52f38655bcc5e1255 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Mon, 1 Apr 2013 12:55:48 -0700 Subject: only negative indent nested grid rows; add new grid example --- docs/assets/css/bootstrap.css | 10 ++++---- docs/examples/grid.html | 56 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 61 insertions(+), 5 deletions(-) create mode 100644 docs/examples/grid.html (limited to 'docs') diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index 76b5ec31d..7f498b0c5 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -757,11 +757,6 @@ pre code { clear: both; } -.row { - margin-right: -15px; - margin-left: -15px; -} - .row:before, .row:after { display: table; @@ -782,6 +777,11 @@ pre code { clear: both; } +.row .row { + margin-right: -15px; + margin-left: -15px; +} + [class*="col-span-"] { position: relative; min-height: 1px; diff --git a/docs/examples/grid.html b/docs/examples/grid.html new file mode 100644 index 000000000..f2028b8bf --- /dev/null +++ b/docs/examples/grid.html @@ -0,0 +1,56 @@ +--- +layout: example +title: Grid template +--- + + + + + +
+ +

Bootstrap grids

+

Basic grid layouts to get you familiar with building within the Bootstrap grid system.

+ +

Three equal columns

+
+
.col-span-4
+
.col-span-4
+
.col-span-4
+
+ +

Three unequal columns

+
+
.col-span-3
+
.col-span-6
+
.col-span-3
+
+ +

Two columns

+
+
.col-span-8
+
.col-span-4
+
+ +

Full width, single column

+

No grid classes are necessary for full-width elements.

+ +
-- cgit v1.2.3