Css 如何更换爱奥尼亚4中子弹滑块的道具?
如何更改离子滑块中子弹的道具(颜色、大小和位置) 我应用了下一个链接的片段,但不适用于ionic 4Css 如何更换爱奥尼亚4中子弹滑块的道具?,css,ionic-framework,ionic4,Css,Ionic Framework,Ionic4,如何更改离子滑块中子弹的道具(颜色、大小和位置) 我应用了下一个链接的片段,但不适用于ionic 4 我刚找到答案 您应该应用您的样式,如以下示例所示: .swiper-pagination-bullet { --bullet-background: #00a0be; width: 12px; height: 12px; } .swiper-pagination-bullet-active { width: 12px; height: 1
我刚找到答案 您应该应用您的样式,如以下示例所示:
.swiper-pagination-bullet {
--bullet-background: #00a0be;
width: 12px;
height: 12px;
}
.swiper-pagination-bullet-active {
width: 12px;
height: 12px;
--bullet-background: transparent;
}
.swiper-container-horizontal>.swiper-pagination-bullets {
bottom: 5%!important;
}
这些是更改圆点样式所需的类。希望对你有用