Answer the question
In order to leave comments, you need to log in
How to change the color of an SVG?
There is a svg file. Located in a folder "/site/img/category/checkered7.svg"
. With the help of this code, it is displayed on the page:
<img style="color: blue; fill: rgb(148, 211, 27);" src="../..//site/img/category/checkered7.svg " alt="" width="20">
Answer the question
In order to leave comments, you need to log in
to change color with css, you need to insert svg inline.<svg ...><path d="..." /></svg>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question