本文实例为大家分享了jQuery实现推拉门效果的具体代码,供大家参考,具体内容如下
方法:anemate(), stop(), siblings()
动画效果:
推拉门 *{ margin: 0; padding: 0; list-style: none; } .container{ margin: 50px auto; width: 988px; height: 405px; overflow: hidden; } img{ width: 538px; height: 405px; } .container ul li{ float: left; width: 75px; height: 405px; } .container ul li.active{ width: 538px; }
以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持考高分网。



