码迷,mamicode.com
首页 > 其他好文 > 详细

背景图片自适应大小

时间:2015-10-21 12:08:58      阅读:135      评论:0      收藏:0      [点我收藏+]

标签:

如果图片比较大,比如200x200, 那么显示的图片会随着input type="image" 的 width/height变化

<input type="image" style="width:20px;height:20px;"  src="../../../Images/xxx.png">

 

背景图片自适应大小

标签:

原文地址:http://www.cnblogs.com/webglcn/p/4897197.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!