Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

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);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #set #svg #background #color #css
ADD COMMENT
Topic
Name
1+6 =