0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-02 14:24:19 +01:00
Bootstrap/site/docs/4.1/components/jumbotron.md
Mark Otto 0e920ce3f4 Reorganize docs for easier deploys
With the current docs directory setup, I'm making too many mistakes and have to manually address path changes and directory moves on deploy. This makes for a frustrating experience developing locally and shipping releases. With this PR, we're basically back to the same setup from v3—duplicating the dist directory into our docs directory. Not the most ideal, but very straightforward for me as the release manager.
2018-07-11 23:30:46 -07:00

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.

{% capture example %}

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
{% endcapture %} {% include example.html content=example %}

To make the jumbotron full width, and without rounded corners, add the .jumbotron-fluid modifier class and add a .container or .container-fluid within.

{% capture example %}

Fluid jumbotron

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

{% endcapture %} {% include example.html content=example %}