scss 样式穿透写法记录

1,253次阅读
没有评论

共计 191 个字符,预计需要花费 1 分钟才能阅读完成。

主要是头部的 /deep/关键字

<style lang="scss" scoped>

  /deep/ .swiper-pagination-bullets {
    bottom: 6px;
    .swiper-pagination-bullet {
      width: 6px;
      height: 6px;
    }
    .swiper-pagination-bullet-active {
      background: #fff;
    }
  }
</style>
正文完
 0
Eric chan
版权声明:本站原创文章,由 Eric chan 于2019-12-14发表,共计191字。
转载说明:除特殊说明外本站文章皆由CC-4.0协议发布,转载请注明出处。