:output_style - specify output location for generated stylesheet (default.:output_image - specify output location for generated image (default.:cssurl - specify custom css url (see below).:selector - specify custom css selector (see below).:library - specify image library to use (rmagick or chunkypng).:style - specify stylesheet syntax (css, scss or sass).:layout - specify layout algorithm (horizontal, vertical or packed).Much of the behavior can be customized by overriding the following options: To keep the markup semantic it is common to use an img tag with a dummy src=s.gif.
Technically,įor css sprites, you could just use a div with a class instead of an img, but gif used as aĭummy src when the true image comes from a css background attribute.
NOTE: s.gif is the traditional name of a 1x1 pixel transparent.