Hey everyone I believe I have seen it done somewhere but can't remember where but can I use either CSS or Javascript/jQuery to change the color of a png image that is being displayed on the page. The image is just a small icon image that is black in color with a transparent background but I would like to use the code to change the color to a light grey for example so it is easier to change the color to say green if I wanted in the future without having to make a new image.
Cheers Guys
Phil
+1 I would like to find out how to do this as well. Thanks.
This sound like an icon font is needed.
http://css-tricks.com/examples/IconFont/
http://css-tricks.com/flat-icons-icon-fonts/
There a bunch of tutorials if you search on Google. You can do this quite easily with SVG.