You could do it by hiding the input type="file"
and styling a label
connected to it using the for
attribute.
In this way, when you click on the label
(which you can stylize), the input type="file"
event that is hidden will be launched and allow you to choose a file.
#fichero{
display: none;
}
.circle{
display: inline-block;
border-radius: 50%;
width: 100px;
height: 100px;
background-color: red;
cursor: pointer;
}
<input id="fichero" type="file">
<label for="fichero" class="circle"></label>
NOTE: Note that the ID of the input
must be the same as the value of the attribute for
of the label
.