aboutsummaryrefslogtreecommitdiff
path: root/site/content/docs/4.6/components/jumbotron.md
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2021-01-19 18:16:38 +0200
committerGitHub <[email protected]>2021-01-19 18:16:38 +0200
commit6ffb0b48e455430f8a5359ed689ad64c1143fac2 (patch)
tree6262338881c32c3c19e4977152ecd0fca61a341c /site/content/docs/4.6/components/jumbotron.md
parent9d87bd7a30c1874a9c3d60041a4042228753dd0e (diff)
downloadbootstrap-4.6.0.tar.xz
bootstrap-4.6.0.zip
Release v4.6.0. (#32726)v4.6.0
* Bump version to v4.6.0. * Dist
Diffstat (limited to 'site/content/docs/4.6/components/jumbotron.md')
-rw-r--r--site/content/docs/4.6/components/jumbotron.md29
1 files changed, 29 insertions, 0 deletions
diff --git a/site/content/docs/4.6/components/jumbotron.md b/site/content/docs/4.6/components/jumbotron.md
new file mode 100644
index 000000000..9810be418
--- /dev/null
+++ b/site/content/docs/4.6/components/jumbotron.md
@@ -0,0 +1,29 @@
+---
+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.
+
+{{< 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>
+{{< /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.
+
+{{< 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>
+{{< /example >}}