diff options
| author | Mark Otto <[email protected]> | 2015-08-12 20:28:46 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2015-08-12 20:28:46 -0700 |
| commit | 314161cb179be0846ac1190abf2fc442965ea300 (patch) | |
| tree | 3dc9a3eedff6dabdbb69b45bf62fab451199fb55 /docs/components | |
| parent | 0babe3568c01face310ad5446a16cec08043a7d5 (diff) | |
| download | bootstrap-314161cb179be0846ac1190abf2fc442965ea300.tar.xz bootstrap-314161cb179be0846ac1190abf2fc442965ea300.zip | |
remove hella vars from the jumbotron
Diffstat (limited to 'docs/components')
| -rw-r--r-- | docs/components/jumbotron.md | 21 |
1 files changed, 7 insertions, 14 deletions
diff --git a/docs/components/jumbotron.md b/docs/components/jumbotron.md index b19564b8c..a9c34102f 100644 --- a/docs/components/jumbotron.md +++ b/docs/components/jumbotron.md @@ -10,9 +10,13 @@ A lightweight, flexible component that can optionally extend the entire viewport {% example html %} <div class="jumbotron"> - <h1 class="jumbotron-heading">Hello, world!</h1> + <h1 class="display-3">Hello, world!</h1> <p class="lead">This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.</p> - <p class="lead"><a class="btn btn-primary btn-lg" href="#" role="button">Learn more</a></p> + <hr class="m-y-md"> + <p>It uses utility classes for typography and spacing to space content out within the larger container.</p> + <p class="lead"> + <a class="btn btn-primary btn-lg" href="#" role="button">Learn more</a> + </p> </div> {% endexample %} @@ -21,19 +25,8 @@ To make the jumbotron full width, and without rounded corners, add the `.jumbotr {% example html %} <div class="jumbotron jumbotron-fluid"> <div class="container"> - <h1 class="jumbotron-heading">Fluid jumbotron</h1> + <h1 class="display-3">Fluid jumbotron</h1> <p class="lead">This is a modified jumbotron that occupies the entire horizontal space of it's parent.</p> </div> </div> {% endexample %} - -Jumbotrons also come with an adaptive `hr`—just add `.jumbotron-hr` to the element and the `border-top-color` will be tinted based on the jumbotron background. - -{% example html %} -<div class="jumbotron"> - <h1 class="jumbotron-heading">Jumbotron <code>hr</code></h1> - <p class="lead">This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.</p> - <hr class="jumbotron-hr"> - <p class="lead"><a class="btn btn-primary btn-lg" href="#" role="button">Learn more</a></p> -</div> -{% endexample %} |
