Closed EdwinToh closed 12 years ago
Out of curiosity, what's the use-case?
Hmm.. for responsive/retina/non-retina sprites, using percentages is better than pixels.
Interesting, I still use pixels in this case, & do background-image: url('img/sprites@2x.png'); background-size: 512px auto; for retina devices.
Ah okay. I never knew there was that method! :) If that works then I guess it is not necessary!
I'm going to keep this open, the % thing might be handy if you're not bg-sizing everything down to the same size. Will have more of a think about it. Thanks for suggesting!
This feature would be definitely very useful for creating responsive sprites using the background-size property. See this article for more details.
Love Sprite Cow !!!!
Added this (you may have to refresh the page a couple of times for appcache to show the changes)
Good stuff !!! Thank you for that Jake.
would be cool to have percentage based positioning instead of pixels.