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

1.1 KiB

layout title group
docs Jumbotron components

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

Example

{% example html %}

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.

Learn more

{% 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 %}

Fluid jumbotron

This is a modified jumbotron that occupies the entire horizontal space of its parent.

{% endexample %}