diff options
| author | Mark Otto <[email protected]> | 2018-04-09 09:00:23 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2018-04-09 09:00:23 -0700 |
| commit | 8f7bd419935adfcd53c471a0202083464800619e (patch) | |
| tree | d0e6ab018a0f41b59a1206cf72ffc79a474e69b9 /docs/4.1/components/jumbotron.md | |
| parent | 91730a644f107ca80a747a6f7f0c173eca5708fa (diff) | |
| download | bootstrap-4.1.0.tar.xz bootstrap-4.1.0.zip | |
Ship v4.1.0 (#26218)v4.1.0
* update docs path from docs/4.0/ to docs/4.1/
* bump version to 4.1.0
* Update redirects to work for 4.1 docs move
* Update docs version switcher to include latest and link to 4.0 docs
* re-run dist
* Update package-lock.json
* Update docs-navbar.html
Diffstat (limited to 'docs/4.1/components/jumbotron.md')
| -rw-r--r-- | docs/4.1/components/jumbotron.md | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/docs/4.1/components/jumbotron.md b/docs/4.1/components/jumbotron.md new file mode 100644 index 000000000..c14621565 --- /dev/null +++ b/docs/4.1/components/jumbotron.md @@ -0,0 +1,31 @@ +--- +layout: docs +title: Jumbotron +description: Lightweight, flexible component for showcasing hero unit style content. +group: components +--- + +A lightweight, flexible component that can optionally extend the entire viewport to showcase key marketing messages on your site. + +{% capture example %} +<div class="jumbotron"> + <h1 class="display-4">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> + <hr class="my-4"> + <p>It uses utility classes for typography and spacing to space content out within the larger container.</p> + <a class="btn btn-primary btn-lg" href="#" role="button">Learn more</a> +</div> +{% endcapture %} +{% include example.html content=example %} + +To make the jumbotron full width, and without rounded corners, add the `.jumbotron-fluid` modifier class and add a `.container` or `.container-fluid` within. + +{% capture example %} +<div class="jumbotron jumbotron-fluid"> + <div class="container"> + <h1 class="display-4">Fluid jumbotron</h1> + <p class="lead">This is a modified jumbotron that occupies the entire horizontal space of its parent.</p> + </div> +</div> +{% endcapture %} +{% include example.html content=example %} |
