美文网首页我爱编程
bootstrap table 选中行颜色

bootstrap table 选中行颜色

作者: 炒面Z | 来源:发表于2018-01-03 17:22 被阅读0次

在 bootstrap-table.min.css 中修改源码

//选中行颜色
.fixed-table-container tbody .selected td{background-color:#EEE8AA}

在bootstrap.min.css中修改源码

//奇偶行颜色
.table-striped>tbody>tr:nth-of-type(odd){background-color:#f9f9f9}
//滑过的颜色
.table-hover>tbody>tr:hover{background-color:#FAFAD2}

效果如图:


TIM图片20180103172344.png

相关文章

网友评论

    本文标题:bootstrap table 选中行颜色

    本文链接:https://www.haomeiwen.com/subject/zxqknxtx.html