A
A
akubenov2014-05-14 08:28:11
css
akubenov, 2014-05-14 08:28:11

What to use to create css sprites of svg images?

I want to create a sprite of svg images. Tell me what you use for this, what will be better (services, technologies)?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nikolai Sadovnikov, 2014-05-15
@GruZZ

2014.codefest.ru/lecture/677 - presentation by Timofey Chaptykov, close to your topic.
From it you will learn:
- about the tools for assembling sprites through Grunt,
- why SVG sprites will only bring you pain and it is better to make separate icons and translate them into data-uri,
- how to make a fallback to PNG sprites.
SVG itself is better to import from a vector using some Inkscape and run through SVGO (you can automate through the same Grunt).
PS caniuse.com/#search=svg - SVG support in browsers.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question