1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-25 04:12:55 +01:00

Counters example doesn't need to be a table

This commit is contained in:
Vickash Mahabir 2013-01-18 18:03:43 -04:00
parent 964cb77383
commit 67ec13a44c
2 changed files with 12 additions and 44 deletions

View File

@ -1340,29 +1340,13 @@
<h1>Counters</h1>
</div>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>Name</th>
<th>Example</th>
<th>Markup</th>
</tr>
</thead>
<tbody>
<tr>
<td>
Default
</td>
<td>
<strong>Inbox</strong> <span class="counter">42</span>
</td>
<td>
<code>&lt;span class="counter"&gt;42&lt;/span&gt;</code>
</td>
</tr>
</tbody>
</table>
<div class="bs-docs-example">
<a href="#">Inbox</a> <span class="counter">42</span>
</div>
<pre class="prettyprint linenums">
&lt;a href="#"&gt;Inbox&lt;/a&gt; &lt;span class="counter"&gt;42&lt;/span&gt;
</pre>
<h3>Easily collapsible</h3>
<p>For easy implementation, counters will simply collapse (via CSS's <code>:empty</code> selector) when no content exists within.</p>

View File

@ -1271,29 +1271,13 @@
<h1>Counters</h1>
</div>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>Name</th>
<th>Example</th>
<th>Markup</th>
</tr>
</thead>
<tbody>
<tr>
<td>
Default
</td>
<td>
<strong>Inbox</strong> <span class="counter">42</span>
</td>
<td>
<code>&lt;span class="counter"&gt;42&lt;/span&gt;</code>
</td>
</tr>
</tbody>
</table>
<div class="bs-docs-example">
<a href="#">Inbox</a> <span class="counter">42</span>
</div>
<pre class="prettyprint linenums">
&lt;a href="#"&gt;Inbox&lt;/a&gt; &lt;span class="counter"&gt;42&lt;/span&gt;
</pre>
<h3>Easily collapsible</h3>
<p>For easy implementation, counters will simply collapse (via CSS's <code>:empty</code> selector) when no content exists within.</p>