mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-05-30 15:24:08 +03:00
#3223: make table row hover optional class
This commit is contained in:
@@ -566,6 +566,45 @@ For example, <code>section</code> should be wrapped as inline.
|
||||
<table class="table table-bordered">
|
||||
…
|
||||
</table>
|
||||
</pre>
|
||||
|
||||
<h3><code>.table-hover</code></h3>
|
||||
<p>Enable a hover state on table rows within a <code><tbody></code>.</p>
|
||||
<div class="bs-docs-example">
|
||||
<table class="table table-hover">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>#</th>
|
||||
<th>First Name</th>
|
||||
<th>Last Name</th>
|
||||
<th>Username</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>1</td>
|
||||
<td>Mark</td>
|
||||
<td>Otto</td>
|
||||
<td>@mdo</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>2</td>
|
||||
<td>Jacob</td>
|
||||
<td>Thornton</td>
|
||||
<td>@fat</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>3</td>
|
||||
<td colspan="2">Larry the Bird</td>
|
||||
<td>@twitter</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<pre class="prettyprint linenums" style="margin-bottom: 18px;">
|
||||
<table class="table table-hover">
|
||||
…
|
||||
</table>
|
||||
</pre>
|
||||
|
||||
<h3><code>.table-condensed</code></h3>
|
||||
|
||||
Reference in New Issue
Block a user