CSS
<style>
.father >>> element-ui 自带class
</style>
SCSS
<style lang="scss" scoped>
.father ::deep element-ui 自带class
</style>
LESS
<style lang=less" scoped>
.father \deep\ element-ui 自带class
</style>
<style>
.father >>> element-ui 自带class
</style>
<style lang="scss" scoped>
.father ::deep element-ui 自带class
</style>
<style lang=less" scoped>
.father \deep\ element-ui 自带class
</style>
本文标题:覆盖原生样式使用深度穿透
本文链接:https://www.haomeiwen.com/subject/lhfxzrtx.html
网友评论