Reputation: 13275
I want to put all SVG graphics used on a page in a sprite sheet to lower HTTP requests. Most of the sprites are actually really tiny so I have used background-size
a lot.
In some cases, the background image intentionally does not fill out the assigned element completely. Is it still possible to use a sprite sheet without "leaking" of other graphics on the sheet?
Upvotes: 0
Views: 123
Reputation: 3240
Have you included "repeat: no-repeat" in your css?
If this isn't fixing the problem try spreading your images out further in your image sprite.
Upvotes: 1