0

I want to give an options

<input id="file" name="file" type="file" />

 

paper clip to upload files like image, pdf, doc ... like how we attache in Gmail and WhatsApp like that option I want to give in my leave application form

Instead of choose files, I want option paper clip like thispaper clip option

thejashwini l
  • 31
  • 1
  • 8
  • 1
    Have you tried anything at all or are you just asking us to do it all for you? Please read [How to create a Minimal, Reproducible Example](https://stackoverflow.com/help/minimal-reproducible-example) and [How do I ask a good question?](https://stackoverflow.com/help/how-to-ask) and edit your question accordingly. – M. Eriksson Feb 25 '20 at 06:35
  • Does this answer your question? [How to customize ?](https://stackoverflow.com/questions/5813344/how-to-customize-input-type-file) – Maximouse Feb 25 '20 at 08:11

1 Answers1

1

Check the below snippet using font awesome.

.fa {
 font-size: 40px!important;
 color: grey;
 cursor: pointer;
}
<link href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet"/>
<label for="file">
 <i class="fa fa-paperclip"></i>
</label>
<input id="file" name="file" type="file" multiple hidden />
Devang
  • 454
  • 1
  • 8
  • 18
Akhil Aravind
  • 5,741
  • 16
  • 35