diff options
| author | Mark Otto <[email protected]> | 2013-08-23 21:45:58 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2013-08-23 21:45:58 -0700 |
| commit | 7edd87dde901b30bb0cef9a2f72ab321c7dfb743 (patch) | |
| tree | 59899e32f3e01a736587b32f0e12393003389e04 /css.html | |
| parent | c4f1591e70bc7849a533cd7d3f81bd7960ca7448 (diff) | |
| parent | c1ddb06de78c265e4d8bad0216911b386c543633 (diff) | |
| download | bootstrap-7edd87dde901b30bb0cef9a2f72ab321c7dfb743.tar.xz bootstrap-7edd87dde901b30bb0cef9a2f72ab321c7dfb743.zip | |
Merge branch 'master' of github.com:twbs/bootstrap
Diffstat (limited to 'css.html')
| -rw-r--r-- | css.html | 62 |
1 files changed, 48 insertions, 14 deletions
@@ -588,46 +588,80 @@ base_url: "../" <!-- Headings --> <h2 id="type-headings">Headings</h2> <p>All HTML headings, <code><h1></code> through <code><h6></code> are available.</p> - <div class="bs-example bs-example-type"> <table class="table"> <tbody> <tr> <td><h1>h1. Bootstrap heading</h1></td> - <td>Semibold 36px</td> + <td class="info">Semibold 36px</td> </tr> <tr> <td><h2>h2. Bootstrap heading</h2></td> - <td>Semibold 30px</td> + <td class="info">Semibold 30px</td> </tr> <tr> <td><h3>h3. Bootstrap heading</h3></td> - <td>Semibold 24px</td> + <td class="info">Semibold 24px</td> </tr> <tr> <td><h4>h4. Bootstrap heading</h4></td> - <td>Semibold 18px</td> + <td class="info">Semibold 18px</td> </tr> <tr> <td><h5>h5. Bootstrap heading</h5></td> - <td>Semibold 14px</td> + <td class="info">Semibold 14px</td> </tr> <tr> <td><h6>h6. Bootstrap heading</h6></td> - <td>Semibold 12px</td> + <td class="info">Semibold 12px</td> </tr> </tbody> </table> </div> {% highlight html %} -<h1>...</h1> -<h2>...</h2> -<h3>...</h3> -<h4>...</h4> -<h5>...</h5> -<h6>...</h6> +<h1>h1. Bootstrap heading</h1> +<h2>h2. Bootstrap heading</h2> +<h3>h3. Bootstrap heading</h3> +<h4>h4. Bootstrap heading</h4> +<h5>h5. Bootstrap heading</h5> +<h6>h6. Bootstrap heading</h6> {% endhighlight %} + <p>Also included with headings is an autoscaling <code><small></code> element. Use it for smaller, gray secondary text in any heading.</p> + <div class="bs-example bs-example-type"> + <table class="table"> + <tbody> + <tr> + <td><h1>h1. Bootstrap heading <small>Secondary text</small></h1></td> + </tr> + <tr> + <td><h2>h2. Bootstrap heading <small>Secondary text</small></h2></td> + </tr> + <tr> + <td><h3>h3. Bootstrap heading <small>Secondary text</small></h3></td> + </tr> + <tr> + <td><h4>h4. Bootstrap heading <small>Secondary text</small></h4></td> + </tr> + <tr> + <td><h5>h5. Bootstrap heading <small>Secondary text</small></h5></td> + </tr> + <tr> + <td><h6>h6. Bootstrap heading <small>Secondary text</small></h6></td> + </tr> + </tbody> + </table> + </div> +{% highlight html %} +<h1>h1. Bootstrap heading <small>Secondary text</small></h1> +<h2>h2. Bootstrap heading <small>Secondary text</small></h2> +<h3>h3. Bootstrap heading <small>Secondary text</small></h3> +<h4>h4. Bootstrap heading <small>Secondary text</small></h4> +<h5>h5. Bootstrap heading <small>Secondary text</small></h5> +<h6>h6. Bootstrap heading <small>Secondary text</small></h6> +{% endhighlight %} + + <!-- Body copy --> <h2 id="type-body-copy">Body copy</h2> <p>Bootstrap's global default <code>font-size</code> is <strong>14px</strong>, with a <code>line-height</code> of <strong>1.428</strong>. This is applied to the <code><body></code> and all paragraphs. In addition, <code><p></code> (paragraphs) receive a bottom margin of half their computed line-height (10px by default).</p> @@ -1794,7 +1828,7 @@ For example, <code><section></code> should be wrapped as inline. <div class="bs-example"> <form role="form"> <input class="form-control" id="focusedInput" type="text" value="This is focused..."> - </div> + </form> </div> {% highlight html %} <input class="form-control" id="focusedInput" type="text" value="This is focused..."> |
