.upload-pic input[type=file] {
position: absolute;
opacity: 0;
width: 4.26rem;
height: 4.26rem;
display: block;
margin: 0 auto;
left: 40%;
}
position: absolute;
opacity: 0;
width: 4.26rem;
height: 4.26rem;
display: block;
margin: 0 auto;
left: 40%;
}
<input type="file">