From 8d55c3c0a3b56f68cd6c37977bdc8439a8d5b09a Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Mon, 14 Jul 2014 08:22:33 -0700 Subject: move containers to layout section --- docs/layout/containers.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 docs/layout/containers.md (limited to 'docs/layout') diff --git a/docs/layout/containers.md b/docs/layout/containers.md new file mode 100644 index 000000000..029cc1886 --- /dev/null +++ b/docs/layout/containers.md @@ -0,0 +1,24 @@ +--- +layout: page +title: Containers +--- + +Bootstrap requires a containing element to wrap site contents and house our grid system. You may choose from one of two containers—fixed width or fluid width—to use in your projects. + +Containers *can* be nested, but be aware that most layouts don't require it. + +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. + +{% highlight html %} +
+ ... +
+{% endhighlight %} + +Use `.container-fluid` for a full width container, spanning the entire width of the viewport. + +{% highlight html %} +
+ ... +
+{% endhighlight %} -- cgit v1.2.3