Setting a background image to input is dependent on browser
Below is the sample
-
background-image for Firefox, Opera, Safari & Edge
.bgnw { background-image:url('darkglass.png'); width:100px; height:60px; }
-
For IE & Others
.bg { background:white url('darkglass.png') repeat scroll 0 0; width:100px; height:60px; border:solid 1px; }
Below is the sample