mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-29 21:52:22 +01:00
markdownify jumbotron docs
This commit is contained in:
parent
35e68dcc33
commit
8ff37bdb23
@ -1,27 +1,24 @@
|
|||||||
<div class="bs-docs-section">
|
---
|
||||||
<h1 id="jumbotron" class="page-header">Jumbotron</h1>
|
layout: page
|
||||||
|
title: Jumbotron
|
||||||
|
---
|
||||||
|
|
||||||
<p>A lightweight, flexible component that can optionally extend the entire viewport to showcase key content on your site.</p>
|
A lightweight, flexible component that can optionally extend the entire viewport to showcase key content on your site.
|
||||||
<div class="bs-example">
|
|
||||||
<div class="jumbotron">
|
{% example html %}
|
||||||
<h1>Hello, world!</h1>
|
|
||||||
<p>This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.</p>
|
|
||||||
<p><a class="btn btn-primary btn-lg" role="button">Learn more</a></p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
{% highlight html %}
|
|
||||||
<div class="jumbotron">
|
<div class="jumbotron">
|
||||||
<h1>Hello, world!</h1>
|
<h1>Hello, world!</h1>
|
||||||
<p>...</p>
|
<p>This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.</p>
|
||||||
<p><a class="btn btn-primary btn-lg" role="button">Learn more</a></p>
|
<p><a class="btn btn-primary btn-lg" role="button">Learn more</a></p>
|
||||||
</div>
|
</div>
|
||||||
{% endhighlight %}
|
{% endexample %}
|
||||||
<p>To make the jumbotron full width, and without rounded corners, place it outside all <code>.container</code>s and instead add a <code>.container</code> within.</p>
|
|
||||||
{% highlight html %}
|
To make the jumbotron full width, and without rounded corners, place it outside all `.container`s and instead add a `.container` within.
|
||||||
|
|
||||||
|
{% example html %}
|
||||||
<div class="jumbotron">
|
<div class="jumbotron">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
...
|
...
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endhighlight %}
|
{% endexample %}
|
||||||
</div>
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user