Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

svg color

/*	change svg color using css filter
	https://codepen.io/sosuke/pen/Pjoqqp
*/

/* in the HTML: */
<img src="dotted-arrow.svg" class="filter-green"/>

then change the color in the css file:
.filter-green{
        filter: invert(48%) sepia(79%) saturate(2476%) hue-rotate(86deg) brightness(118%) contrast(119%);
    }
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #svg #color
ADD COMMENT
Topic
Name
7+8 =