首页 > Web开发 > 详细

Web实现点击图片弹出上传文件窗口代码

时间:2015-12-04 17:43:06      阅读:357      评论:0      收藏:0      [点我收藏+]

复制代码
代码如下:

<style>
.fileInputContainer{
height:256px;
background:url(upfile.png);
position:relative;
width: 256px;
}
.fileInput{
height:256px;
overflow: hidden;
font-size: 300px;
position:absolute;
right:0;
top:0;
opacity: 0;
filter:alpha(opacity=0);
cursor:pointer;
}
</style>
<div class="fileInputContainer">
<input class="fileInput" type="file" name="" id="" />
</div>

技术分享

Web实现点击图片弹出上传文件窗口代码

原文:http://www.jb51.net/web/92684.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!