How css uses SVG for icons
This article will explain in detail how css uses SVG for icons. The editor thinks it is very practical, so I share it with you for reference. I hope you can get something after reading this article.
Use SVG with icons
There is no reason why we should not use SVG for icons:
.logo {background: url ("logo.svg");}
SVG is scalable for all resolution types and supports all browsers to return to IE9. This avoids .png, .jpg, or .gif files.
This is the end of the article on "how css uses SVG for icons". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, please share it for more people to see.