1,el-table中自带白色背景 修改为透明。。注意:使用/deep/ ,前面是父元素的class类名
.tableAroundSecurityBox {
margin: auto;
}
.tableAroundSecurityBox /deep/ .el-table–fit {
background-color: transparent !important;
}
.tableAroundSecurityBox /deep/ .el-table,
.el-table__expanded-cell {
background-color: transparent;
}
.tableAroundSecurityBox /deep/ .el-table th {
background-color: transparent !important;
color: #fff;
}
.tableAroundSecurityBox /deep/ .el-table tr {
background-color: transparent !important;
}
.tableAroundSecurityBox /deep/ .el-table–enable-row-transition .el-table__body td,
.el-table .cell {
background-color: transparent;
color: #fff;
border: none;
}
.el-table td, .el-table th.is-leaf {
border-bottom: 0px solid #ebeef5;
}
.el-table::before {
2021-09-09 el-table中修改表格的样式 背景 表头 每行
最新推荐文章于 2024-05-18 06:08:21 发布