Skip to content

Glue is a simple command line tool to generate CSS sprites

License

Notifications You must be signed in to change notification settings

jaimeirurzun/glue

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

85 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Glue

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

$ glue source output

Features

Example

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

https://github.com/jorgebastida/glue/raw/master/docs/_static/famfamfam1.png

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: http://glue.readthedocs.org/en/latest/quickstart.html

About

Glue is a simple command line tool to generate CSS sprites

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 89.8%
  • Shell 10.2%