aboutsummaryrefslogtreecommitdiff
path: root/docs/components.html
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2013-02-17 22:20:49 -0800
committerMark Otto <[email protected]>2013-02-17 22:20:49 -0800
commitacdffe696cf29f51c659a18eeca304512ff47048 (patch)
tree978b61ac4f776eb56a02d181d4180a383a76885c /docs/components.html
parentf6ec2c5dac371b0b1d56abd65be548ee5ed075c8 (diff)
downloadbootstrap-acdffe696cf29f51c659a18eeca304512ff47048.tar.xz
bootstrap-acdffe696cf29f51c659a18eeca304512ff47048.zip
Bring back the label, make it scale somewhat with the font-size of the parent using percentages and ems
Diffstat (limited to 'docs/components.html')
-rw-r--r--docs/components.html79
1 files changed, 79 insertions, 0 deletions
diff --git a/docs/components.html b/docs/components.html
index 53b4a7e08..f1b45159b 100644
--- a/docs/components.html
+++ b/docs/components.html
@@ -28,6 +28,7 @@ title: Components
<li><a href="#navbar"><i class="glyphicon glyphicon-chevron-right"></i> Navbar</a></li>
<li><a href="#breadcrumbs"><i class="glyphicon glyphicon-chevron-right"></i> Breadcrumbs</a></li>
<li><a href="#pagination"><i class="glyphicon glyphicon-chevron-right"></i> Pagination</a></li>
+ <li><a href="#labels"><i class="glyphicon glyphicon-chevron-right"></i> Labels</a></li>
<li><a href="#badges"><i class="glyphicon glyphicon-chevron-right"></i> Badges</a></li>
<li><a href="#typography"><i class="glyphicon glyphicon-chevron-right"></i> Typography</a></li>
<li><a href="#thumbnails"><i class="glyphicon glyphicon-chevron-right"></i> Thumbnails</a></li>
@@ -1274,6 +1275,84 @@ title: Components
+ <!-- Labels
+ ================================================== -->
+ <section id="counters">
+ <div class="page-header">
+ <h1>Labels</h1>
+ </div>
+ <p class="lead"></p>
+
+ <h3>Example</h3>
+ <div class="bs-docs-example">
+ <h1>Example heading <span class="label">New</span></h1>
+ <h2>Example heading <span class="label">New</span></h2>
+ <h3>Example heading <span class="label">New</span></h3>
+ <h4>Example heading <span class="label">New</span></h4>
+ <h5>Example heading <span class="label">New</span></h5>
+ <h6>Example heading <span class="label">New</span></h6>
+ </div>
+{% highlight html linenos %}
+<h3>Example heading <span class="label">New</span></h3>
+{% endhighlight %}
+
+ <h3>Available variations</h3>
+ <p>Add any of the below mentioned modifier classes to change the appearance of a label.</p>
+ <table class="table table-bordered table-striped">
+ <thead>
+ <tr>
+ <th>Labels</th>
+ <th>Markup</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>
+ <span class="label">Default</span>
+ </td>
+ <td>
+ <code>&lt;span class="label"&gt;Default&lt;/span&gt;</code>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <span class="label label-success">Success</span>
+ </td>
+ <td>
+ <code>&lt;span class="label label-success"&gt;Success&lt;/span&gt;</code>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <span class="label label-warning">Warning</span>
+ </td>
+ <td>
+ <code>&lt;span class="label label-warning"&gt;Warning&lt;/span&gt;</code>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <span class="label label-danger">Danger</span>
+ </td>
+ <td>
+ <code>&lt;span class="label label-danger"&gt;Danger&lt;/span&gt;</code>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <span class="label label-info">Info</span>
+ </td>
+ <td>
+ <code>&lt;span class="label label-info"&gt;Info&lt;/span&gt;</code>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+
+ </section>
+
+
+
<!-- Badges
================================================== -->
<section id="badges">