【发布时间】:2021-06-17 00:48:58
【问题描述】:
你能帮我用 Swiper 创建圆形进度条吗?我试过了,但我所有的尝试都没有成功。
这是我的 js
const swiper_news = new Swiper('.slider-news', {
spaceBetween: 30,
pagination: {
el: '.swiper-pagination',
type: "custom"
}
});
这是我的css:
.swiper-pagination.swiper-pagination-progressbar-fill{
border-radius:20px;
}
【问题讨论】:
标签: javascript css swiper