成人在线亚洲_国产日韩视频一区二区三区_久久久国产精品_99国内精品久久久久久久

您的位置:首頁技術(shù)文章
文章詳情頁

css3 - <input type=file>這個標簽怎么讓瀏覽按鈕上出現(xiàn)小手的標志。

瀏覽:107日期:2023-08-06 17:32:50

問題描述

讓input[type='file']透明度為零,然后寫了個上傳按鈕樣式,但是鼠標移上去不變小手,我設(shè)置了cursor:pointer;后在非Ie瀏覽器里有效,其他瀏覽器里沒有效果,怎么辦?

問題解答

回答1:

似乎無解的說,以及,請善用搜索,關(guān)鍵詞'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 設(shè)置個大點的字體

chrome下邊可以font-size為0

標簽: CSS
相關(guān)文章: