diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index 76b5ec31df..7f498b0c55 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -757,31 +757,31 @@ pre code { clear: both; } -.row { +.row:before, +.row:after { + display: table; + content: " "; +} + +.row:after { + clear: both; +} + +.row:before, +.row:after { + display: table; + content: " "; +} + +.row:after { + clear: both; +} + +.row .row { margin-right: -15px; margin-left: -15px; } -.row:before, -.row:after { - display: table; - content: " "; -} - -.row:after { - clear: both; -} - -.row:before, -.row:after { - display: table; - content: " "; -} - -.row:after { - clear: both; -} - [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 0000000000..f2028b8bfe --- /dev/null +++ b/docs/examples/grid.html @@ -0,0 +1,56 @@ +--- +layout: example +title: Grid template +--- + + + + + +
Basic grid layouts to get you familiar with building within the Bootstrap grid system.
+ +No grid classes are necessary for full-width elements.
+ +