2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-02 16:04:07 +03:00

move containers to layout section

This commit is contained in:
Mark Otto
2014-07-14 08:22:33 -07:00
parent e6ee1b228f
commit 8d55c3c0a3
3 changed files with 25 additions and 20 deletions
-20
View File
@@ -45,23 +45,3 @@ These styles can be found within `scaffolding.less`.
### Normalize
For improved cross-browser rendering, we use [Normalize.css](http://necolas.github.io/normalize.css/) to correct small inconsistencies across browsers and devices.
### Containers
Bootstrap requires a containing element to wrap site contents and house our grid system. You may choose one of two containers to use in your projects. Note that, due to `padding` and more, neither container is nestable.
Use `.container` for a responsive fixed width container.
{% highlight html %}
<div class="container">
...
</div>
{% endhighlight %}
Use `.container-fluid` for a full width container, spanning the entire width of your viewport.
{% highlight html %}
<div class="container-fluid">
...
</div>
{% endhighlight %}