// 样式穿透, 有三种写法:
// 1. >>> 在less中使用
// 2. /deep/ 在less中使用
// 3. ::v-deep 在scss中使用
.img-container {
border-radius: 50%;
::v-deep img {
width: 60px;
height: 60px;
}
}
style样式的几种穿透写法.
最新推荐文章于 2024-03-29 17:25:33 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)