去掉第三放的el-table的默认背景色父元素穿透

news/2024/7/7 13:00:32
 .el-table, .el-table__expanded-cell {
        background-color: transparent!important;
    }
    
    .el-table th, .el-table tr {
       border: 0!important;
        background-color: transparent!important;
    }
    .父元素>>> .el-table,
.父元素 >>> .el-table__expanded-cell {
  background-color: transparent !important;
}

.父元素 >>> .el-table th,
.父元素>>> .el-table tr {
  border: 0 !important;
  background-color: transparent !important;
}

去掉划过的背景色父元素穿透
.父元素 >>> .el-table {
background: #dff0d8 !important;
margin-top: 10px;
margin: 0 auto;
margin-left: 20%;
}
.父元素 >>> .el-table-column {
width: 90%;
background: none;
margin: 0 auto;
}
.父元素 >>> .el-table,
.父元素 >>> .el-table__expanded-cell {
background-color: transparent !important;
}

.父元素 >>> .el-table th,
.header_time >>> .el-table tr {
border: 0 !important;
background-color: transparent !important;
}
.父元素>>>.el-table tbody tr td{
background: #dff0d8 !important;
}
.父元素 >>> .el-table tbody tr:hover > td {
background: #dff0d8 !important;
}
.父元素 >>> .el-table__header-wrapper {
background: #dff0d8 !important;
}
.父元素 >>> .el-table ,.header_time >>>.el-table__footer-wrapper tbody td {
background: #dff0d8 !important;
}
.父元素 >>> .el-table__row {
background: #dff0d8 !important;
}


http://www.niftyadmin.cn/n/4596945.html

相关文章

Spring入门之HelloSpring

2019独角兽企业重金招聘Python工程师标准>>> Spring描述: -轻量级:Spring是非侵入式的-基于Spring开发的应用中的对象可以不依赖于Spring的API -依赖注入(DI---dependency injection,IOC) -面向切面编程(AO…

关于koa的起服务

关于koa的起服务 第一步:全局安装 koa-generator npm install koa-generator -g 第二步:使用 koa-generator 生成 koa 项目 # 项目名字为:myproject koa2 myproject # 进入 myproject 项目 cd myproject # 安装 npm install 第四步&#xff1…

ES6学习笔记八:类与继承

一:Class ES6 提供了更接近传统语言的写法,引入了 Class(类)这个概念,作为对象的模板。通过class关键字,可以定义类。 定义“类”的方法的时候,前面不需要加上function这个关键字,直…

默默前行的livego--基于go语言的rtmp直播服务器

为什么go语言,原因太多了! 轻量级协程,随时goroutine方便的channel方便的interface强大的服务器性能简单点GO语言---为服务器而生!我们来看看: livego--基于go语言的rtmp直播服务器github地址: https://github.com/runner365/liv…

Vue 的自我模拟面试

vue的响应系统 vue的mvvm框架,当数据模型data变化时,页面视图会响应更新 原理对data的getter/setter方法进行拦截, 利用发布订阅的设计模式。 在getter中进行订阅,在setter方法中发布通知,让所有订阅者 完成响应。在响…

WIN32_FIND_DATA 详细结构(附循环读取文件代码)

//去除路径最后多余的斜杠和反斜杠 std::string TrimPath(std::string path) {//string test3("内容"); 使用引用字符数组作为参数传给构造函数std::string illegal(" \t\f\v\n\r\\/");//string 赋值size_t pos path.find_last_not_of(illegal);//从后往…

不公平才是世界的真相----摘自罗辑思维

不公平才是世界的真相如果让你来模拟上帝。给世界上全部人分配財富。你必须依照什么原则分配,才会得到一个与真实世界差点儿相同的结果呢?首先你不可能均匀分配,否则世界上就不会有穷人和富人的差别。你可能会考虑随心情分配,今天…

vue通讯e

在这里插入代码片 父级向子级通讯(利用props)父级&#xff1a;data(){return{**tit:加油加油 &#xff01;**}}子级&#xff1a;props:[tit] 接收<val1 :tit"tit"></val1>子级向父级通讯(利用回调函数)子级&#xff1a;this.$emit(solgan,this.val)父级&…