代码整理 - 图片上下遮罩滚动显示图片介绍或者标题特效:
效果如下:
代码分享:
#_160912{height:514px;overflow:hidden;width:272px;margin: auto;} ._160912c{float:left;overflow:hidden;position:relative;width:272px;} $(function(){ $('._160912c').mouseover(function(){ $(this).stop().animate({"top":"-514px"}, 200); }) $('._160912c').mouseout(function(){ $(this).stop().animate({"top":"0"}, 200); }) })
转载请注明来源: 图片上下遮罩滚动显示 - 朱凯博客
支付宝
微信