V
V
Vladislav2021-07-18 20:32:35
css
Vladislav, 2021-07-18 20:32:35

How to refer to svg in sprite using background-image?

In the sprite I have several svg with their id, how to get it through the background-image?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Evgeniy, 2021-07-18
@Zheleznov

background-image: url('../img/sprite.svg#ID');

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question