mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-01 13:24:25 +01:00
rewrite in markdown
This commit is contained in:
parent
d093460252
commit
374c45048c
@ -442,50 +442,13 @@ Add `.table-sm` to make tables more compact by cutting cell padding in half.
|
|||||||
|
|
||||||
Use contextual classes to color table rows or individual cells.
|
Use contextual classes to color table rows or individual cells.
|
||||||
|
|
||||||
<table class="table table-bordered table-striped table-responsive">
|
| Class | Description |
|
||||||
<colgroup>
|
| --- | --- |
|
||||||
<col class="col-1">
|
| `.table-active` | Applies the hover color to a particular row or cell |
|
||||||
<col class="col-7">
|
| `.table-success` | Indicates a successful or positive action |
|
||||||
</colgroup>
|
| `.table-info` | Indicates a neutral informative change or action |
|
||||||
<thead>
|
| `.table-warning` | Indicates a warning that might need attention |
|
||||||
<tr>
|
| `.table-danger` | Indicates a dangerous or potentially negative action |
|
||||||
<th>Class</th>
|
|
||||||
<th>Description</th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
<tbody>
|
|
||||||
<tr>
|
|
||||||
<th scope="row">
|
|
||||||
<code>.table-active</code>
|
|
||||||
</th>
|
|
||||||
<td>Applies the hover color to a particular row or cell</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<th scope="row">
|
|
||||||
<code>.table-success</code>
|
|
||||||
</th>
|
|
||||||
<td>Indicates a successful or positive action</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<th scope="row">
|
|
||||||
<code>.table-info</code>
|
|
||||||
</th>
|
|
||||||
<td>Indicates a neutral informative change or action</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<th scope="row">
|
|
||||||
<code>.table-warning</code>
|
|
||||||
</th>
|
|
||||||
<td>Indicates a warning that might need attention</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<th scope="row">
|
|
||||||
<code>.table-danger</code>
|
|
||||||
</th>
|
|
||||||
<td>Indicates a dangerous or potentially negative action</td>
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
<div class="bd-example">
|
<div class="bd-example">
|
||||||
<table class="table">
|
<table class="table">
|
||||||
|
Loading…
Reference in New Issue
Block a user