很简单,html代码如下
1 2 3 4 5 6 7 | < div class = "slider__images" > < div class = "slider__images-item slider__images-item--active" data-id = "1" >< img src = "img/1.jpg" ></ div > < div class = "slider__images-item" data-id = "2" >< img src = "img/2.jpg" ></ div > < div class = "slider__images-item" data-id = "3" >< img src = "img/3.jpg" ></ div > < div class = "slider__images-item" data-id = "4" >< img src = "img/4.jpg" ></ div > < div class = "slider__images-item" data-id = "5" >< img src = "img/5.jpg" ></ div > </ div > |
相应加载css、js文件,图片地址放在对应div中 通过class控制,会出现轮播、3D切换特效
特别申明:
本站所有资源都是由网友投稿发布,或转载各大下载站,请自行检测软件的完整性!
本站所有资源仅供学习与参考,请勿用于商业用途,否则产生的一切后果将由您自己承担!
如有侵权请联系我们删除下架,联系方式:lei1294551502@163.com