2.5.1 #permalink Zebra Tables
Default zebra-stripe style for tables
Example
Employee | Apples | Oranges |
---|---|---|
Alice | 10 | 0 |
Bob | 0 | 10 |
Carol | 2 | 13 |
Dave | 23 | 4 |
Markup
<table class="zebra-striped">
<tr>
<th>Employee</th>
<th>Apples</th>
<th>Oranges</th>
</tr>
<tr>
<td>Alice</td>
<td>10</td>
<td>0</td>
</tr>
<tr>
<td>Bob</td>
<td>0</td>
<td>10</td>
</tr>
<tr>
<td>Carol</td>
<td>2</td>
<td>13</td>
</tr>
<tr>
<td>Dave</td>
<td>23</td>
<td>4</td>
</tr>
</table>
Source:
base/tables.less
, line 53