Jump to content

CSS Sprite background repeat mystery


cssfreakie

Recommended Posts

hi all,

 

This one has been puzzling me for quite some time and tonight i tried a little more but I have a feeling this is not possible. In a nut shell i would like to use an minor image on an image sprite to be repeated just like a normal image would by either repeat-x repeat-y or repeat. The problem is how? since sprites need a width otherwise they show the whole sprite.

 

If anyone knows if this is possible and and how please let me know  8)

 

Just for a visual idea i added an image where the gradient black to grey image is the one i would love to repeat

 

 

 

[attachment deleted by admin]

Link to comment
https://forums.phpfreaks.com/topic/226532-css-sprite-background-repeat-mystery/
Share on other sites

Yes i do hope if someone knows, The sprites of for instance Bing  and Facebook uses the background repeat image at the very bottom with a width of the total sprite. I have a felling that that is the only way. IF someone knows please let us know :)

 

sprite_facebook.png

bing_sprite.png

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.