2016-01-26 21:12:48 +03:00
---
layout: docs
title: Jumbotron
2017-08-11 17:59:31 +03:00
description: Lightweight, flexible component for showcasing hero unit style content.
2016-01-26 21:12:48 +03:00
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" >
2018-01-23 15:30:37 +03:00
< h1 class = "display-4" > Hello, world!< / h1 >
2016-01-26 21:12:48 +03:00
< p class = "lead" > This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.< / p >
2017-08-11 17:59:31 +03:00
< hr class = "my-4" >
2016-01-26 21:12:48 +03:00
< p > It uses utility classes for typography and spacing to space content out within the larger container.< / p >
< p class = "lead" >
2016-08-02 20:44:50 +03:00
< a class = "btn btn-primary btn-lg" href = "#" role = "button" > Learn more< / a >
2016-01-26 21:12:48 +03:00
< / 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" >
2018-01-23 15:30:37 +03:00
< h1 class = "display-4" > Fluid jumbotron< / h1 >
2016-01-26 21:12:48 +03:00
< p class = "lead" > This is a modified jumbotron that occupies the entire horizontal space of its parent.< / p >
< / div >
< / div >
{% endexample %}