Here's the fiddle. I have a project where I am making non-styleable form elements,GitHub, and right now I am making a file input. You can find the source codes at the bottom of the question. I have used opacity: 0; on the input, and put a <span></span> over it. The extra space in the span is for the name of the file selected, but I am trying to think of a way to retrieve the file name using JavaScript or jQuery.
HTML:
<span>Choose File<input type='file'></span>
CSS:
body {
background: #252525;
color: #96f226
}
span {
background: #4a4a4a;
cursor: pointer;
}
input {
opacity: 0;
cursor: pointer;
}
JS/jQuery:
none yet