zoukankan      html  css  js  c++  java
  • element UI table(表格)组件

    .el-table{
            /deep/ td{
                text-align: center;
            }
     }
    
    表格居中显示。
    

      

             

     表头居中显示。

     ------------------------------------------------------------------------

    表头border不显示,找到th  设置 0.5px solid ....

       //修改表格边框颜色


      .requireList{ /deep/ .el-table td, .el-table th.is-leaf{ border-bottom: 1px solid #e5e5e5 !important; } } .requireList{ /deep/ .el-table th.is-leaf{ border-bottom: 1px solid #e5e5e5 !important; } } .requireList{ /deep/ .el-table--border{ border-top: 1px solid #e5e5e5 !important; border-left: 1px solid #e5e5e5 !important; } } .requireList /deep/.el-table--border td{ border-right: 1px solid #e5e5e5 !important; } .requireList /deep/.el-table--border th{ border-right: 1px solid #e5e5e5 !important; background:rgba(245,245,245,1); }

      

  • 相关阅读:
    JS 操作属性
    JS 操作对象 事件 样式
    JS 一个页面关闭多个页面
    JS DOM
    JS 语言基础
    JS 基础知识
    CSS样式表
    HTML 常用标记
    HTML iframe框架
    28-2 logging 日志模块
  • 原文地址:https://www.cnblogs.com/swt-axios/p/13301231.html
Copyright © 2011-2022 走看看