我想知道這是否可行?谷歌什麼都沒有。製作一個輸入類型「文件」隱藏按鈕
基本上我想按鈕模擬選擇時,允許用戶上傳文件。我讀過它的可能的標籤,但我需要做的一個按鈕做UX/UI
<button style="position:fixed;bottom:10px;right:70px" type="button" class="btn btn-default" >
<input type="file" id="files" visbility="hidden"/>
<span class="glyphicon glyphicon-folder-open" aria-hidden="true"></span>
</button>
目前我的按鈕看起來是這樣的: 這樣:
我想你最好能見度= 「隱藏」 更改爲風格= 「顯示:無」 – 2015-03-25 09:03:17