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
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

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.