Answer the question
In order to leave comments, you need to log in
How to connect svg images through background?
Is it possible to somehow connect an svg image via background-image with a link to the desired symbol id from the svg file.
In plain language, you need something like this: background-image: url('data:image/svg+xml;utf8, ../img/svg/sprite.svg#my-icon');
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question