aboutsummaryrefslogtreecommitdiff
path: root/docs/base-css.html
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-06-25 14:11:37 -0700
committerMark Otto <[email protected]>2012-06-25 14:11:37 -0700
commit27845e4492741a973231ff1be6c493e001a28555 (patch)
tree1085a75069f5641f61e9f9af34c577e9a1401fbb /docs/base-css.html
parent508a93d9e307457426f2aa2fcfa740858ebd851a (diff)
downloadbootstrap-27845e4492741a973231ff1be6c493e001a28555.tar.xz
bootstrap-27845e4492741a973231ff1be6c493e001a28555.zip
#3223: make table row hover optional class
Diffstat (limited to 'docs/base-css.html')
-rw-r--r--docs/base-css.html39
1 files changed, 39 insertions, 0 deletions
diff --git a/docs/base-css.html b/docs/base-css.html
index 413639934..9eed2bea2 100644
--- a/docs/base-css.html
+++ b/docs/base-css.html
@@ -568,6 +568,45 @@ For example, &lt;code&gt;section&lt;/code&gt; should be wrapped as inline.
&lt;/table&gt;
</pre>
+ <h3><code>.table-hover</code></h3>
+ <p>Enable a hover state on table rows within a <code>&lt;tbody&gt;</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;">
+&lt;table class="table table-hover"&gt;
+ …
+&lt;/table&gt;
+</pre>
+
<h3><code>.table-condensed</code></h3>
<p>Makes tables more compact by cutting cell padding in half.</p>
<div class="bs-docs-example">