当我的项目中应用css原生款式时,需应用>>>深度选择器来批改 外用第三方组件的款式
<style lang="css" scoped>
.el-button >>> span{
color: 'red'
}
</style>
当我的项目css的扩大语言是less,须要应用/deep/或者::v-deep深度选择器来批改外用第三方组件的款式。
<style lang="less" scope>
/deep/.el-button{
span{
color: 'red'
}
}
</style>
发表回复