Skip to content
This repository
Fetching contributors…

Cannot retrieve contributors at this time

file 42 lines (31 sloc) 2.034 kb


Glue is a simple command line tool to generate CSS sprites:

$ glue source output



Using the gorgeous famfamfam icons (4.2Mb) you will get the following icons.png (401Kb).

And also an icons.css with all the necessary CSS classes for this sprite:

.sprite-icons-zoom_out{ background:url('icons.png'); top:0; left:0; no-repeat;}
.sprite-icons-zoom_in{ background:url('icons.png'); top:0; left:-16; no-repeat;}
.sprite-icons-zoom{ background:url('icons.png'); top:-16; left:0; no-repeat;}
.sprite-icons-xhtml_valid{ background:url('icons.png'); top:-16; left:-16; no-repeat;}

Do you want to know more? Visit the quickstart guide:

Something went wrong with that request. Please try again.