How Can I Create a Custom File Upload With Only HTML, JS and CSS

后端 未结 4 1789
醉话见心
醉话见心 2021-02-12 15:52

Here is the design of the control I want to create:

\"sample

As you can see, it\'s easy to create

4条回答
  •  野性不改
    2021-02-12 16:33

    For a solution that does not require JavaScript, you could use a :

    
    
    

    This won't work in every browser, namely older ones and mobile Safari. To cover these, use the above mentioned JavaScript solution.

提交回复
热议问题