JS网页图片放大镜特效.docVIP

  • 4
  • 0
  • 约2.88千字
  • 约 3页
  • 2017-06-16 发布于河南
  • 举报
JS网页图片放大镜特效

JS网页放大镜效果,不需要额外加载图片,在原有图片大小的基础上放大: style ul,li{margin:0;padding:0;} ul{list-style:none;} .w960{ margin:0 auto; width:960px; border:1px solid #ccc; border-right:none; } .pic-list{ width:960px; overflow:hidden; } .pic-list .item{ float:left; position:relative; margin-left:-1px; margin-bottom:-1px; width:320px; height:240px; border-right:1px solid #ccc; border-bottom:1px solid #ccc; overflow:hidden; } .pic-list .item img{ position:absolute; cursor:crosshair; } /style /head body div class=w960 ul class=pic-list id=pic-list li class=item img src= 图片1地址自己设置.jpg width=320 height=240

文档评论(0)

1亿VIP精品文档

相关文档