Document
*{
padding: 0;
margin:0;
}
.swiper-container{
width: 300px;
height: 146px;
}
ul{
list-style: none;
}
.swiper-slide img{
width: 100%;
display: block;
}
var mySwiper = new Swiper('.swiper-container',{
autoplay:1000,
direction:'vertical'
});
// var mySwiper = new Swiper('.swiper-container',{
// effect:'cube',
// cube:{
// slideShadows:true,
// shadow:true,
// shadowOffset:100,
// shadowScale:0.6
// }
// })
一键复制
编辑
Web IDE
原始数据
按行查看
历史