I have an input of type file. 'Choose File' will be displayed on the button and beside it, 'No file chosen' will be displayed. But i want to change the button color and text of the button.
http://jsfiddle.net/e5e0zhsb/3
<form action="demo_form.asp">
Select a file: <input type="file" name="img" class='customBtn'>
<input type="submit"/>
</form>
I tried adding some css
.customBtn input[type='file'] {
color:#f00
}
Can some one help me on this?