Change SVG image color using Css or do it manually in SVG file

7k views Asked by At

I have a svg picture file, but the content inside is black, and I need a white, I tried to add background-color property to style attribute of svg file, but Image still black, I trying to find solution in Internet, and I found, but I cant use jQuery or some native JavaScript for it. Can somebody help me? Thanks!

P.S. If you need more info just ask me.

1

There are 1 answers

0
nowiko On

Actually, I use .svg files for <img> tag, and css-way dont worked for me. I use fill attribute for <path> tag inside .svg file.