diff options
| author | Mark Otto <[email protected]> | 2013-08-17 20:33:52 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2013-08-17 20:33:52 -0700 |
| commit | d713f8341c26b1705a94fd890a92695d271dfb5b (patch) | |
| tree | 0ffc786352b0c87e59a10f058175c2cf4e69d503 /components.html | |
| parent | d9e38312d24dc947ef479539fe2252f29bd1090d (diff) | |
| download | bootstrap-d713f8341c26b1705a94fd890a92695d271dfb5b.tar.xz bootstrap-d713f8341c26b1705a94fd890a92695d271dfb5b.zip | |
Update jumbotron
* Defaults to no rounded corners and full width in the viewport
* When in a container, the jumbotron has extra padding and will have
rounded corners
* Updates default jumbotron example to show the full width default
display
Fixes #9759.
Diffstat (limited to 'components.html')
| -rw-r--r-- | components.html | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/components.html b/components.html index eb6a31938..147f05984 100644 --- a/components.html +++ b/components.html @@ -1768,19 +1768,23 @@ body { padding-bottom: 70px; } <div class="page-header"> <h1 id="jumbotron">Jumbotron</h1> </div> - <p>A lightweight, flexible component to showcase key content on your site. It works well on marketing and content-heavy sites.</p> + <p>A lightweight, flexible component that can optional extend the entire viewport to showcase key content on your site. To make the jumbotron full width, don't include it within a <code>.container</code>. Placing it within a container will keep it at the width of the rest of your content and provide rounded corners.</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">Learn more</a></p> + <div class="container"> + <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">Learn more</a></p> + </div> </div> </div> {% highlight html %} <div class="jumbotron"> - <h1>Hello, world!</h1> - <p>...</p> - <p><a class="btn btn-primary btn-lg">Learn more</a></p> + <div class="container"> + <h1>Hello, world!</h1> + <p>...</p> + <p><a class="btn btn-primary btn-lg">Learn more</a></p> + </div> </div> {% endhighlight %} </div> |
