Jumbotron
Bootstrap Jumbotron - free examples, templates & tutorial
Responsive Jumbotron built with Bootstrap 5. Classic hero component, jumbotron with background image, with navbar, full height, slider & more combinations.
To learn more read Card Docs.
Basic example
Jumbotron is a full width card that is usually displayed at the top of the page, sometimes also referred to as a "Hero component". Jumbotron with rounded corners, vertically centered content, and a call to action button is the most common component found on landing pages. The jumbotron color should be only slightly off the background of the page to make your design feel "light".
Hello world!
This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.
It uses utility classes for typography and spacing to space content out within the larger container.
<!-- Jumbotron -->
<div class="p-4 shadow-4 rounded-3" style="background-color: hsl(0, 0%, 94%);">
<h2>Hello world!</h2>
<p>
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>
<button type="button" class="btn btn-primary">
Learn more
</button>
</div>
<!-- Jumbotron -->
Background image
You can add a background image to your jumbotron. In that case, you should also use a mask to make sure, that the text over image is clearly visible.
You can include many different images and contents as "slides" by creating a jumbotron slider or a carousel slider with thumbnails, if you want use smaller image previews as controls.
<!-- Jumbotron -->
<div class="p-5 text-center bg-image rounded-3" style="
background-image: url('https://mdbcdn.b-cdn.net/img/new/slides/041.webp');
height: 400px;
">
<div class="mask" style="background-color: rgba(0, 0, 0, 0.6);">
<div class="d-flex justify-content-center align-items-center h-100">
<div class="text-white">
<h1 class="mb-3">Heading</h1>
<h4 class="mb-3">Subheading</h4>
<a class="btn btn-outline-light btn-lg" href="#!" role="button">Call to action</a>
</div>
</div>
</div>
</div>
<!-- Jumbotron -->