Title
随笔 - 83,  文章 - 0,  评论 - 0,  阅读 - 55547

去除table单元格的底线 和 去除table的边框线

复制代码
// 去掉所有的横线
.el-table__row>td{ border: none; }
.el-table::before { height: 0px; }

// 只去除表格的最最底部的横线
div /deep/ .el-table--border::after,
div /deep/ .el-table--group::after,
div /deep/ .el-table::before {
    background-color: transparent;
} 
复制代码

iviewui的table边框线去除

复制代码
// 整个table的下边框和右边框
    /deep/ .ivu-table:before,/deep/ .ivu-table:after{
      background: white;
    }
// table中所有的横边框 
    /deep/ .ivu-table td,/deep/ .ivu-table th{
      border-bottom: 1px solid white;
    }
// 整个table的上边框和左边框
    /deep/ .ivu-table-wrapper {
      border: none;
    }
复制代码

 

posted on   chccee  阅读(4317)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 全程不用写代码,我用AI程序员写了一个飞机大战
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· 记一次.NET内存居高不下排查解决与启示
· 白话解读 Dapr 1.15:你的「微服务管家」又秀新绝活了
· DeepSeek 开源周回顾「GitHub 热点速览」
点击右上角即可分享
微信分享提示