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

1.2 KiB

layout title description group
docs Jumbotron Lightweight, flexible component for showcasing hero unit style content. components

A lightweight, flexible component that can optionally extend the entire viewport to showcase key marketing messages 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.


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