You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm wondering whether it would be nice to have a computed porcentual background-position instead of static pixeled one.
Why? Mainly because when you want to import the SVG as your main sprite and then resizing the div that will have the class pointing to the icon, you will probably want to resize the icon too. Meaning we need porcentual units in regard background positions to continue pointing to the icon once the container is getting bigger or smaller.
The text was updated successfully, but these errors were encountered:
I just published the next major release of grunt-svg-sprite. It's rewritten from scratch and now featuring relative background positioning for CSS sprites — could you please check this? I'll close the issue for now, but please feel free to re-open it in case you've still got problems.
I'm wondering whether it would be nice to have a computed porcentual background-position instead of static pixeled one.
Why? Mainly because when you want to import the SVG as your main sprite and then resizing the div that will have the class pointing to the icon, you will probably want to resize the icon too. Meaning we need porcentual units in regard background positions to continue pointing to the icon once the container is getting bigger or smaller.
The text was updated successfully, but these errors were encountered: