您的位置:首页技术文章
文章详情页

css3 - <input type=file>这个标签怎么让浏览按钮上出现小手的标志。

浏览:102日期:2023-08-06 17:32:50

问题描述

让input[type='file']透明度为零,然后写了个上传按钮样式,但是鼠标移上去不变小手,我设置了cursor:pointer;后在非Ie浏览器里有效,其他浏览器里没有效果,怎么办?

问题解答

回答1:

似乎无解的说,以及,请善用搜索,关键词'input file change cursor'。

cc: http://stackoverflow.com/questions/1537223/change-cursor-type-on-input-type-filecc: http://stackoverflow.com/questions/7155381/css-how-make-the-cursor-to-become-a-pointer-on-the-input-file

回答2:

可以试试这样成不

ie就font-size 设置个大点的字体

chrome下边可以font-size为0

标签: CSS
相关文章: