深层样式 : >>> 别名 /deep/ ::v-deep
给父元素添加 类名 需要 借助于深层样式
>>> 只可使用于css
<style> .box >>> .el-input__inner{ padding:0 } </style>
/deep/ 如果有scoped 但 不使用第三方css扩展语言,可以使用
<style scoped > .box /deep/ .el-input__inner{ padding:0 } </style>
::v-deep 使用scss或者其他第三方css扩展语言和scoped ,穿透 修改第三方 样式需要使用
<style scoped lang='scss'> .box ::v-deep .el-input__inner{ padding:0 } </style>