Front end - modify the default style of the table in ElementUI

[element-ui modify table style] commonly used in the project to modify the style of el-table_elment ui table style modification_Can't eat small shrimp blog-CSDN blog

current line style

view2

/deep/ .el-table__body tr.current-row>td.el-table__cell{
    background-color: #dedede;
}

hover style

view2

/deep/ .el-table--enable-row-hover .el-table__body tr:hover>td.el-table__cell {
    background-color: #dedede;
}

Guess you like

Origin blog.csdn.net/helloyangkl/article/details/130808738