el-table设置表格显示外边框和表头的下边框
elementUI的el-table
·
el-table会自带下边框,去除所有的边框
//去除table的每一条数据的下边框
.el-table td {
border-bottom: none;
}
//去除表格的最下面一行的边框
.tableStyle::before{
width: 0;
}
//设置表的外边框
.el-table{
border: 1px solid #ccc;
}
如果要去除表头的下边框():
.el-table th.is-leaf {
border-bottom: none;
}
更多推荐
已为社区贡献1条内容
所有评论(0)