diff options
| author | Mark Otto <[email protected]> | 2014-07-12 02:13:09 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2014-07-12 02:13:09 -0700 |
| commit | 88db2b597018d3ba57a571d35ac4866c57bdbda9 (patch) | |
| tree | b91721a3838222ca07a87841f92d002072c6cdac /docs/components | |
| parent | ba74329ba68c957055fc8a2ff5f354cdc951f086 (diff) | |
| download | bootstrap-88db2b597018d3ba57a571d35ac4866c57bdbda9.tar.xz bootstrap-88db2b597018d3ba57a571d35ac4866c57bdbda9.zip | |
move jumbotron
Diffstat (limited to 'docs/components')
| -rw-r--r-- | docs/components/jumbotron.md | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/docs/components/jumbotron.md b/docs/components/jumbotron.md new file mode 100644 index 000000000..4c6bdb739 --- /dev/null +++ b/docs/components/jumbotron.md @@ -0,0 +1,27 @@ +<div class="bs-docs-section"> + <h1 id="jumbotron" class="page-header">Jumbotron</h1> + + <p>A lightweight, flexible component that can optionally extend the entire viewport to showcase key content on your site.</p> + <div class="bs-example"> + <div class="jumbotron"> + <h1>Hello, world!</h1> + <p>This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.</p> + <p><a class="btn btn-primary btn-lg" role="button">Learn more</a></p> + </div> + </div> +{% highlight html %} +<div class="jumbotron"> + <h1>Hello, world!</h1> + <p>...</p> + <p><a class="btn btn-primary btn-lg" role="button">Learn more</a></p> +</div> +{% endhighlight %} + <p>To make the jumbotron full width, and without rounded corners, place it outside all <code>.container</code>s and instead add a <code>.container</code> within.</p> +{% highlight html %} +<div class="jumbotron"> + <div class="container"> + ... + </div> +</div> +{% endhighlight %} +</div> |
