Answers for "how to change color for svg in css"

CSS
3

set svg background color css

/* You can use CSS masks, With the 'mask' property, you create a mask that is applied to an element. */
background-color: red;
-webkit-mask-image: url(icon.svg);
mask-image: url(icon.svg);
Posted by: Guest on January-11-2021
0

SVG color

<img src="dotted-arrow.svg" class="filter-green"/>
Posted by: Guest on October-17-2021

Code answers related to "how to change color for svg in css"

Browse Popular Code Answers by Language