Styling an input type=“file” button

后端 未结 30 1635
终归单人心
终归单人心 2020-11-21 11:50

How do you style an input type=\"file\" button?

30条回答
  •  囚心锁ツ
    2020-11-21 12:03

     
    

    You can wrap your input type="file" inside of a label for the input. Style the label however you'd like and hide the input with display: none;

提交回复
热议问题