根据https://vue-loader-v14.vuejs....
深度作用选择器,加上后没有效果,不知道为什么?
<style scoped lang="scss">
.content {
background-color: green;
}
.content >>> .el-tabs__content {
background-color: red;
}
</style>
目前只能把scoped局部去掉,这样来进行覆盖
<style lang="scss">
.content {
background-color: green;
}
.content .el-tabs__content {
background-color: red;
}
</style>
scoped
中用deep
样式穿透