Gitee
https://gitee.com/visitor009/swiper3d代码示例
<!-- css --><link rel=34;stylesheet" href="../css/3dSwiper.css"><!-- html --><div class="swiper-container"><ul class="swiper-wrap"> <li><img src=""></li> <li><img src=""></li> <li><img src=""></li> </ul><ul class="swiper-dots"></ul><ul class="swiper-navigator"><li class="swiper-btn-prev"><</li><li class="swiper-btn-next">></li></ul></div><!-- js --><script src="../js/3dSwiper.js"></script><script>new Swiper(".swiper-container",{pagination: ".swiper-dots",navigator: {prev: ".swiper-btn-prev",next: ".swiper-btn-next"}});</script>把稳事变图片数量要 3+图片顺序从中间开始,往右排序图片尺寸会比原来的缩小0.6倍,原来是180px,页面上会变成 180 0.6 = 108px总结
开源的插件非常多,有很多插件都很实用,本文先容的是这样一个轮播图插件,也是有时在码云上创造的,希望对你有所帮助!