0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-30 22:52:24 +01:00
Bootstrap/docs/components/jumbotron.md

25 lines
708 B
Markdown
Raw Normal View History

2014-07-14 09:14:48 -07:00
---
layout: page
title: Jumbotron
---
2014-03-16 19:03:53 -07:00
2014-07-14 09:14:48 -07:00
A lightweight, flexible component that can optionally extend the entire viewport to showcase key content on your site.
{% example html %}
2014-03-16 19:03:53 -07:00
<div class="jumbotron">
<h1>Hello, world!</h1>
2014-07-14 09:14:48 -07:00
<p>This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.</p>
2014-03-16 19:03:53 -07:00
<p><a class="btn btn-primary btn-lg" role="button">Learn more</a></p>
</div>
2014-07-14 09:14:48 -07:00
{% endexample %}
To make the jumbotron full width, and without rounded corners, place it outside all `.container`s and instead add a `.container` within.
{% example html %}
2014-03-16 19:03:53 -07:00
<div class="jumbotron">
<div class="container">
...
</div>
</div>
2014-07-14 09:14:48 -07:00
{% endexample %}