2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-05-15 11:59:39 +03:00
Files
bootstrap/docs/layout/containers.md
T

692 B

layout, title, group
layout title group
page Containers layout

Bootstrap requires a containing element to wrap site contents and house our grid system. Choose from the fixed or fluid width variation.

Use .container for a responsive fixed width container. This will center content withing the viewport and apply the appropriate width for a given device size. Containers can be nested, but be aware that most layouts don't require it.

{% highlight html %}

...
{% endhighlight %}

Use .container-fluid for a full width container, spanning the entire width of the viewport.

{% highlight html %}

...
{% endhighlight %}