Answer the question
In order to leave comments, you need to log in
Why are svg icons rendered black?
Good day! Please tell me why when displaying icons through the construction
<svg class="ico">
<use xlink:href="app/img/ico/icons.svg#icoFb"></use>
</svg>
Answer the question
In order to leave comments, you need to log in
Where do you get the information that this is how it should work? You are the thousandth person asking this question.
The documentation says here :
Insert svg as part of the html document, then you will see your icon through
<svg class="ico">
<use xlink:href="#icoFb"></use>
</svg>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question