twbs--bootstrap/docs/components/jumbotron.md

1.3 KiB

layout title
page Jumbotron

A lightweight, flexible component that can optionally extend the entire viewport to showcase key content on your site.

{% example html %}

Hello, world!

This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.

Learn more

{% endexample %}

To make the jumbotron full width, and without rounded corners, place it outside all .containers and instead add a .container within.

{% highlight html %}

...
{% endhighlight %}

Jumbotrons also come with an adaptive hr—just add .jumbotron-hr to the element and the border-top-color will be tinted based on the jumbotron background.

{% example html %}

Jumbotron hr

This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.


Learn more

{% endexample %}