Extrapolate background slice in css from sprite

RurnerenSquap

New Member
Sprites work well for small icons that don't change dimensions, but I tend to use a lot of 1px wide background slices for things like button and div backgrounds. Is there any way to include these slices into sprites? In order to do so, there must be a way to take a small piece from a sprite and extrapolate it over the entire background of the element, essentially cutting it from the sprite and letting it repeat as if it were a standalone background image.
 
Back
Top