js实现图片在div内滚轮放大缩小,有滚动条,双击回原状
效果图:
<style type="text/css">
*{padding:0;margin:0;}
img{border:none;}
#display{max-width:660px;max-height:510px;margin:30px auto;overflow:scroll;}
</style>
<script type="te...
原创
2018-09-11 16:39:55 ·
5032 阅读 ·
0 评论