首页 > 技术文章 > element ui table 去掉边框

chuhx 2019-08-22 19:20 原文

 // /deep/ .el-table {
        //     thead {
        //        .cell {
        //            text-align: left;  // table 表头 左对齐
        //        } 
        //     }
        //     .delete-row {
        //         color: #d8d8d8;
        //     }

        //     .el-table__expand-icon { //修改 el-tabel 折叠按钮的位置
        //         float:right;
        //     }

        //     // 去掉table的border start----------------------------
        //     border: 0;
        //     th,
        //     tr,
        //     td{
        //         border: 0;
        //         background-color: #fff;
        //     }
        //     &::before {
        //         height: 0px;
        //     }
        //     &::after {
        //         width: 0;
        //     }

        //     .el-table__fixed:before {
        //         height: 0;
        //     }
                // 去掉table的border end----------------------------
        // }

推荐阅读