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

网站建设 2023-01-28 20:48www.1681989.com免费网站

复制代码
代码如下:

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

Copyright © 2016-2025 www.1681989.com 推火网 版权所有 Power by