Change style for input type="file" like clear buttons

Hi, I 'm trying to give a style to input charging me an image to display , I would like to know how do you see a button in the header, but has input behavior .

image

I would like the the input remain as a button as it is placed in the image. Link Codepen