From 1b32e982ade1fc5275a851b711b45f6a0ed21b0c Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sun, 12 Feb 2012 14:47:09 -0800 Subject: add hero-unit docs per #1880 --- docs/components.html | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) (limited to 'docs/components.html') diff --git a/docs/components.html b/docs/components.html index 37f1a6511..10725024b 100644 --- a/docs/components.html +++ b/docs/components.html @@ -98,6 +98,7 @@
  • Labels
  • +
  • Hero
  • Thumbnails
  • Alerts
  • Progress bars
  • @@ -1137,6 +1138,42 @@ + +
    + +
    +
    +

    About

    +

    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.

    +

    Markup

    +

    Wrap your content in a div like so:

    +
    +<div class="hero-unit">
    +  <h1>Heading</h1>
    +  <p>Tagline</p>
    +  <p>
    +    <a class="btn btn-primary btn-large">
    +      Learn more
    +    </a>
    +  </p>
    +</div>
    +
    +
    +
    +
    +

    Hello, world!

    +

    This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.

    +

    Learn more

    +
    +
    +
    +
    + + +
    -- cgit v1.2.3