| kk-table | テーブル |
| theme="hline" | 横に線が入るタイプ |
| theme="cross" | 縦横に線が入るタイプ |
| hover | マウスオーバーで行を強調 |
デフォルトテーブル
kk-tableを指定してください。
<table class="kk-table kk-bg-color-normal">
<caption>Default Table</caption>
<thead>
<tr>
<th>Header</th>
<th>ヘッダ</th>
<th>123456789</th>
</tr>
</thead>
<tbody>
<tr>
<td>Data1</td>
<td>データ1</td>
<td>1111111111</td>
</tr>
<tr>
<td>Data2</td>
<td>データ2</td>
<td>2222222222</td>
</tr>
</tbody>
</table>
| Header | ヘッダ | 123456789 |
|---|---|---|
| Data1 | データ1 | 1111111111 |
| Data2 | データ2 | 2222222222 |
水平ラインテーブル
theme="hline"を指定してください。
<table class="kk-table kk-bg-color-normal" theme="hline">
・・・
</table>
| Header | ヘッダ | 123456789 |
|---|---|---|
| Data1 | データ1 | 1111111111 |
| Data2 | データ2 | 2222222222 |
交差ラインテーブル
theme="cross"を指定してください。theadタグにcenter属性を付与することで、ヘッダ部をセンタリングできます。
<table class="kk-table kk-bg-color-normal" theme="cross">
<caption>Cross Table</caption>
<thead center>
・・・
</table>
| Header | ヘッダ | 123456789 |
|---|---|---|
| Data1 | データ1 | 1111111111 |
| Data2 | データ2 | 2222222222 |
行のマウスオーバー
hoverを指定してください。
<table class="kk-table kk-bg-color-normal" theme="hline" hover>
・・・
</table>
| Header | ヘッダ | 123456789 |
|---|---|---|
| Data1 | データ1 | 1111111111 |
| Data2 | データ2 | 2222222222 |