Answers for "css change background svg fill color"

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
3

svg stroke color

<rect x="10" y="10" width="100" height="100" stroke="blue" fill="purple"
       fill-opacity="0.5" stroke-opacity="0.8"/>
Posted by: Guest on March-18-2020

Code answers related to "css change background svg fill color"

Browse Popular Code Answers by Language