How to set fa fa-palette icon as a background for an input type="color" in html/css? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to set fa fa-palette icon as a background for an input type="color" in html/css?

I'm creating a paint app with html and I added a feature - adding your own colors with input type="color", but its default styling is really bad, so worked on it, but the last step is to make its background-image fa fa-palette icon. I tried background-image, background, placeholder, but I can't think of any other ideas. Could you help?

21st Jul 2020, 9:36 PM
Qui-Gon Jinn
Qui-Gon Jinn - avatar
0 Answers