I have a svg icon that is black I want to change the color to light-green. How can I do that within the following predefined style using only CSS?
.jp-SaveIcon {
background-image: url(icons/md/save.svg);
}
I have a svg icon that is black I want to change the color to light-green. How can I do that within the following predefined style using only CSS?
.jp-SaveIcon {
background-image: url(icons/md/save.svg);
}
I don't think you can change the color of the svg file using css, its like a image file, you need to change the color of svg file itself.
It is possible to change color of svg, simply type
svg
fill: [color] !imporant