解決使用vue-awesome-swiper組件分頁器pagination樣式設置失效問題

解決方案:sass

 給父標籤設置一個id,例如父標籤id="parent"less

在sass/less中使用/deep/樣式穿透spa

#parent /deep/ .swiper-pagination-bullet{ip

      background-color: 'red';swiper

}io

在stulys中使用:>>>實現樣式穿透樣式

#parent >>> .swiper-pagination-bullet-active {di

     border-radius: 'unset';解決方案

}標籤

相關文章
相關標籤/搜索