Bootstrap 表格
表格基本样式
<table class="table"> <thead> <tr> <th> 姓名 </th> <th> 身份 </th> </tr> </thead> <tbody> <tr> <td>王二狗</td> <td>学生</td> </tr> <tr> <td>张三蛋</td> <td>老师</td> </tr> </tbody> </table>
斑马:table-striped
带边框:table-bordered
鼠标悬停响应:table-hover
紧凑些:table-condensed
背景颜色:粉蓝info 粉梅danger 粉肉:warning 粉绿:success 浅灰色.active
响应小于768px : .table 包在 .table-responsive class