diff options
Diffstat (limited to 'docs/components.html')
| -rw-r--r-- | docs/components.html | 22 |
1 files changed, 9 insertions, 13 deletions
diff --git a/docs/components.html b/docs/components.html index 312e03c20..5fae8d4b5 100644 --- a/docs/components.html +++ b/docs/components.html @@ -1398,11 +1398,16 @@ <div class="page-header"> <h1>Typographic components <small>Page header and hero unit for segmenting content</small></h1> </div> - <h2>Hero unit</h2> - <p>Bootstrap provides a lightweight, flexible component called a hero unit to showcase content on your site. It works well on marketing and content-heavy sites.</p> - <h3>Markup</h3> - <p>Wrap your content in a <code>div</code> like so:</p> + <h2>Hero unit</h2> + <p>A lightweight, flexible component called a hero unit to showcase content on your site. It works well on marketing and content-heavy sites.</p> + <div class="bs-docs-example"> + <div class="hero-unit"> + <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-large">Learn more</a></p> + </div> + </div> <pre class="prettyprint linenums"> <div class="hero-unit"> <h1>Heading</h1> @@ -1415,16 +1420,7 @@ </div> </pre> - <div class="bs-docs-example"> - <div class="hero-unit"> - <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-large">Learn more</a></p> - </div> - </div> - <h2>Page header</h2> - <p>A simple shell for an <code>h1</code> to appropriately space out and segment sections of content on a page. It can utilize the <code>h1</code>'s default <code>small</code>, element as well most other components (with additional styles).</p> <div class="bs-docs-example"> <div class="page-header"> |
