Sha256: 7e05236940b20c8ae209719100bf778f25b9811d523c80e2a60a5318f731bfd7

Contents?: true

Size: 1.17 KB

Versions: 7

Compression:

Stored size: 1.17 KB

Contents

---
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 html %}
<div class="jumbotron">
  <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>
  <hr class="my-4">
  <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 %}

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 html %}
<div class="jumbotron jumbotron-fluid">
  <div class="container">
    <h1 class="display-3">Fluid jumbotron</h1>
    <p class="lead">This is a modified jumbotron that occupies the entire horizontal space of its parent.</p>
  </div>
</div>
{% endexample %}

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
card-1.93.7 mod/bootstrap/vendor/bootstrap/docs/4.0/components/jumbotron.md
card-1.93.6 mod/bootstrap/vendor/bootstrap/docs/4.0/components/jumbotron.md
card-1.93.5 mod/bootstrap/vendor/bootstrap/docs/4.0/components/jumbotron.md
card-1.93.4 mod/bootstrap/vendor/bootstrap/docs/4.0/components/jumbotron.md
card-1.93.3 mod/bootstrap/vendor/bootstrap/docs/4.0/components/jumbotron.md
card-1.93.2 mod/bootstrap/vendor/bootstrap/docs/4.0/components/jumbotron.md
card-1.93.1 mod/bootstrap/vendor/bootstrap/docs/4.0/components/jumbotron.md