I get my SVGs from thenounproject.com, however I cannot change their color since fill does nothing.
I use Ruby on Rails, so I used <% = image_tag ('#') ,: class => "tomatoe"%>
and my css looks like this
.tomatoe{
@include transition-property(all);
@include transition-duration(1s);
fill: white;
width: 100px;
margin-top: 1em;
}
Fill never works, tried this on several SVGs, but no luck, and I don't know why.
user2805193
source
share