sass、scss、stylus 在 vue 中修改 eleme
参考地址
vue 官网文档:深度作用选择器
代码示例
<style lang="sass" scoped>
.el-table
::v-deep
.el-table__header-wrapper,th.el-table__cell,.cell
overflow: inherit
</style>
<style lang="scss" scoped>
.el-table{
/deep/ .el-table__header-wrapper,/deep/ th.el-table__cell,.cell{
overflow: inherit;
}
}
</style>
<style lang="stylus" scoped>
.el-table
>>>
.el-table__header-wrapper,th.el-table__cell,.cell
overflow: inherit
</style>
本文标题:sass、scss、stylus 在 vue 中修改 eleme
本文链接:https://www.haomeiwen.com/subject/doorxrtx.html
网友评论