Swiper中文论坛

标题: 怎么用swiper实现匀速无缝轮播 [打印本页]

作者: lqdcanty    时间: 2017-5-31 10:50
标题: 怎么用swiper实现匀速无缝轮播
怎么用swiper实现匀速无缝轮播
作者: 海中云影    时间: 2017-7-6 15:42
配置
autoplay: 1,
speed: 4000,
freeMode: true

修改或者覆盖样式
.swiper-container-free-mode>.swiper-wrapper {
    -webkit-transition-timing-function: linear; /*之前是ease-out*/
    -moz-transition-timing-function: linear;
    -ms-transition-timing-function: linear;
    -o-transition-timing-function: linear;
    transition-timing-function: linear;
    margin: 0 auto;
}




欢迎光临 Swiper中文论坛 (http://bbs.swiper.com.cn/) Powered by Discuz! X3.2