Answer the question
In order to leave comments, you need to log in
What is the correct way to use svg?
The question arose of such a plan, for example, there is a block with advantages.
Each advantage has its own icon.
When hovering over the block, the color of the icon should change.
All icons are provided in svg, the question is, svg data must be changed through the admin panel, but accordingly, files like name.svg cannot be loaded, then the color will not change. Who gets out of the way?
So far, the idea is only to create svg sprites and then set the sprite id to each element through the admin panel, so that it can be administrated.
Answer the question
In order to leave comments, you need to log in
hang the class and through the fill or immediately the fill attribute
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question