When using eg. https://github.com/kisenka/svg-sprite-loader, all SVG images in project are put into a single svg sprite. Then you can use eg. background-image: url(sprite.svg#my-image), however, this solution does not work in Safari.
This is different from #3201 since it deals with <svg> tags in HTML, instead of using svg fragments in CSS background-image attribute.
The text was updated successfully, but these errors were encountered:
I was looking for words like svg and symbol but now it seems to me that fragments is what I should have put in the search box in the first place: https://caniuse.com/#feat=svg-fragment
Does the project support some kind of feature name aliases? It would be nice if I found SVG fragment identifiers feature using svg symbol phrase too.
When using eg. https://github.com/kisenka/svg-sprite-loader, all SVG images in project are put into a single svg sprite. Then you can use eg.
background-image: url(sprite.svg#my-image)
, however, this solution does not work in Safari.This is different from #3201 since it deals with
<svg>
tags in HTML, instead of using svg fragments in CSSbackground-image
attribute.The text was updated successfully, but these errors were encountered: