課程
/前端開發
/Bootstrap
/玩轉Bootstrap(基礎)
table-hover怎么對th無效
2018-07-12
源自:玩轉Bootstrap(基礎) 2-17
正在回答
用<thead></thead>標簽吧th包裹
<table class="table table-hover">
? ?<thead>
? ? ?<tr>
? ? ? ?<th>表格標題</th>
? ? ?</tr>
? ?</thead>
? ?<tbody>
? ? ? ?<td>表格單元格</td>
</tbody>
</table>
舉報
告訴你使用Bootstrap,并且能夠獨立定制出適合自己的Bootstrap
1 回答table table-striped
1 回答 <table class="table table-bordered">
1 回答bootstrap
2 回答bootstrap
3 回答bootstrap
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號-11 京公網安備11010802030151號
購課補貼聯系客服咨詢優惠詳情
慕課網APP您的移動學習伙伴
掃描二維碼關注慕課網微信公眾號
2018-07-13
用<thead></thead>標簽吧th包裹
<table class="table table-hover">
? ?<thead>
? ? ?<tr>
? ? ? ?<th>表格標題</th>
? ? ? ?<th>表格標題</th>
? ? ? ?<th>表格標題</th>
? ? ?</tr>
? ?</thead>
? ?<tbody>
? ? ?<tr>
? ? ? ?<td>表格單元格</td>
? ? ? ?<td>表格單元格</td>
? ? ? ?<td>表格單元格</td>
? ? ?</tr>
</tbody>
</table>