The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Style input type file Reply To: Style input type file


You can find the codepen here


If you just click the empty space below ‘Please’, a Windows selector would pop up. You see empty space as it is an image where user is supposed to click and I could not find a way to upload image to codepen.

The problem is that once user selects the file, filename is not displayed on the screen so user thinks nothing was selected and tries to do the operation again. Is there a way to show the filename after file selection has been made (just like with default html <input type=”file” > ) .

Thank you