ElementUITable边框css修改
el-table标签增加属性border=“true”
然后修改css
// table边框颜⾊
/deep/.el-table--border:after,
.el-table--group:after,
.el-table:before {
background-color: black;
}
/deep/.el-table--border,
/deep/.el-table--group {
border-color: black;
}
/deep/.el-table td,
/deep/.el-table th.is-leaf {
border-bottom:1px solid black;
}
/deep/.el-table--border th,
/deep/.el-table--border th.gutter:last-of-type {
border-bottom:1px solid black;table设置内边框
}
/deep/.el-table--border td,
/
deep/.el-table--border th {
border-right:1px solid black;
}
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。
发表评论