enochlee• 600
@iamenochlee
Posted
Great job poala, this is nice!
Once you use an img tag to import an svg, the fill property no longer works it's now considered and image, you can get around this by using the svg directly, then the fill property will work, you can also use an object tag to import it.
<object data="your.svg" type="image/svg+xml">
</object>
OR
<svg>
<use href="filename.svg"></use>
</svg>
1