H
H
HelpSophie2019-12-05 01:22:02
Sprites
HelpSophie, 2019-12-05 01:22:02

How to build SVG sprite for background-image with Gulp?

I usually collect SVG into a sprite using gulp-svgstore.
But in order to use a sprite in the background, in addition to the symbol, there must also be a view and a use in the same file.
Moreover, starting from the second character with a shift in the viewbox in view and x or y in use.
How to set up a build?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question