SVG-Stacker
SVG-Stacker copied to clipboard
Two suggestions for fixsvgstack.jquery.js
Thanks for the great pollyfill fixsvgstack.jquery.js, which solved the issue of SVG used via CSS background image on iOS for me.
Here are two suggestions:
- Can we make it able to translate the relative path in external CSS files so that it could recognize css and images folders' hierarchies? Currently, if the value of the background-image property is
background-image: url(../images/stack.svg#icon-1);, I have to manually delete the../and write the value of the content property ascontent: "images/stack.svg#icon-1";. Although it's not a big issue, it's good to be able to keep the code of the paths the same so that the code looks more consistent and easier to maintain and update. - Currently, it does not work for CSS generated content
::beforeand::after. Can we make it work for them?