diff --git a/docs/assets/css/docs.css b/docs/assets/css/docs.css index 4d65f6b045..fc9df07e22 100644 --- a/docs/assets/css/docs.css +++ b/docs/assets/css/docs.css @@ -742,7 +742,8 @@ form.well { .bs-docs-example .table, .bs-docs-example .progress, .bs-docs-example .well, -.bs-docs-example .alert { +.bs-docs-example .alert, +.bs-docs-example .hero-unit { margin-bottom: 5px; } form.bs-docs-example { diff --git a/docs/components.html b/docs/components.html index 312e03c201..5fae8d4b5a 100644 --- a/docs/components.html +++ b/docs/components.html @@ -1398,11 +1398,16 @@
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.
-Wrap your content in a div
like so:
A lightweight, flexible component called a hero unit to showcase content on your site. It works well on marketing and content-heavy sites.
+This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.
+ +<div class="hero-unit"> <h1>Heading</h1> @@ -1415,16 +1420,7 @@ </div>-
This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.
- -A simple shell for an h1
to appropriately space out and segment sections of content on a page. It can utilize the h1
's default small
, element as well most other components (with additional styles).
{{_i}}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.{{/i}}
-{{_i}}Wrap your content in a div
like so:{{/i}}
{{_i}}A lightweight, flexible component called a hero unit to showcase content on your site. It works well on marketing and content-heavy sites.{{/i}}
+{{_i}}This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.{{/i}}
+ +<div class="hero-unit"> <h1>{{_i}}Heading{{/i}}</h1> @@ -1338,16 +1343,7 @@ </div>-
{{_i}}This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.{{/i}}
- -{{_i}}A simple shell for an h1
to appropriately space out and segment sections of content on a page. It can utilize the h1
's default small
, element as well most other components (with additional styles).{{/i}}