Is there an equivalent of spriting for SVG images in web pages?

前端 未结 4 926
生来不讨喜
生来不讨喜 2021-02-08 19:10

SVG images aren’t bitmaps, so (unless I’m missing something) you can’t do spriting like you can with other images files used on web pages (see http://www.alistapart.com/articles

4条回答
  •  感情败类
    2021-02-08 19:35

    SVG isn't even technically supported by W3C standards. It won't even work in IE without a plugin. Maybe you'll find some obscure Mozilla plugin that lets you do that but as far as I know your code won't validate.

提交回复
热议问题