Answer the question
In order to leave comments, you need to log in
SVG icons on the site. How to insert correctly?
A question about SVG icons, namely: what is the best way to insert icons on a page?
I found many ways on major sites. And all these methods are different. I can't figure out what are the advantages of one over the other.
What I found:
- Inserting svg code into <span>, i.e. image code directly in the html document.
- Paste directly into
- The same paste through the tag. (but specific...
Answer the question
In order to leave comments, you need to log in
button:hover svg {
fill: white;
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question