The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS SVG sprite css no inline ? Reply To: SVG sprite css no inline ?


That’s exactly how it’s supposed to work…in fact you don’t even need the span.

Instead of an image, you have a use…it’s just an HTML element like any other.

If you don’t want to style the use at any point you can still use an image (and SVG image) but if you want fine grain control then a use is the best option.

Chris covers this in his SVG Lodge course which is now free.