+ 2

Problem with Button and CSS

Hello, Im using an input type="file", but seems impossible for me to style it with CSS. The only thing I can do is change the background color and not of the button, but of the "chose file" text next to the button. Can you tell me how to fix this and style my button, not the text next to it ? Here is my button: <input type="file" name="pic" accept="image/*" id="fileButton"> ... Thanks in advance!

17th May 2017, 5:31 PM
Dimityr Atanasov
Dimityr Atanasov - avatar
2 Réponses