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:
parent
964cb77383
commit
67ec13a44c
@ -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><span class="counter">42</span></code>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<div class="bs-docs-example">
|
||||
<a href="#">Inbox</a> <span class="counter">42</span>
|
||||
</div>
|
||||
|
||||
<pre class="prettyprint linenums">
|
||||
<a href="#">Inbox</a> <span class="counter">42</span>
|
||||
</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>
|
||||
|
||||
|
28
docs/templates/pages/components.mustache
vendored
28
docs/templates/pages/components.mustache
vendored
@ -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><span class="counter">42</span></code>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<div class="bs-docs-example">
|
||||
<a href="#">Inbox</a> <span class="counter">42</span>
|
||||
</div>
|
||||
|
||||
<pre class="prettyprint linenums">
|
||||
<a href="#">Inbox</a> <span class="counter">42</span>
|
||||
</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>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user