将元素的透明度改为全透明:opacity:0; filter:Alpha(opacity=0),两个是为了解决浏览器兼容问题,透明度兼容性:
filter: alpha(opacity=80); //IE
-moz-opacity:0.8; //火狐
opacity:0.8; //其他浏览器
<div class="" style=" position: absolute; top:75px; right:0px; opacity: 0; filter:Alpha(opacity=0);"> <input type="file" /> </div>
时间: 2024-10-24 15:35:44