How to apply to input[type="file"] styles when the file is loaded?

There are in the layout of the following elements:5b524102a8acc141515734.jpeg
That is, the buttons for uploading must have a different look when they uploaded the image.
Is there a way to do this? Maybe the pseudo-class :checked? Or at least some sample of the JS?
Thanks in advance (:
June 3rd 19 at 19:14
2 answers
June 3rd 19 at 19:16
Files are loaded ajax'ohms on the server? Then in the function called upon successful loading (the load event), check the response from the server, and if it corresponds to a successful boot, then add this button to any class. Not pseudo-class and individual (in addition to already existing).
June 3rd 19 at 19:18
input[type="file"] is not stylized in the transparency to 0 or display non on the button the click hang with triggerom clicking on the invisible input[type="file"]

Find more questions by tags HTMLCSSLayout