美文网首页
修改antd中table hover颜色

修改antd中table hover颜色

作者: _静夜听雨_ | 来源:发表于2022-03-16 10:23 被阅读0次

项目中用到,记录一下更改 antd 中 table 行 hover颜色

  .ant-table-tbody > tr:hover:not(.ant-table-expanded-row) > td {
      background-color: #ccc;
    }
    .ant-table-body .ant-table-row-hover{
      background: #ccc;
    }
    .ant-table-body .ant-table-row-hover>td{
      background: #ccc;
    }

相关文章

网友评论

      本文标题:修改antd中table hover颜色

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