Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Glue

 Glue

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

Jorge Bastida

June 05, 2012
Tweet

More Decks by Jorge Bastida

Other Decks in Technology

Transcript

  1. N 1

  2. Rebuild assets happy path suggest .css .png + Build Sprites

    /img/c/ .min.css .css site styles + .css = Compile styles /css/c/ .min.js site js .js + = Compile js /js/c/ ?
  3. --project sprites !"" actions # !"" add.png # $"" remove.png

    !"" borders # !"" top_left.png # $"" top_right.png $"" icons !"" comment.png !"" new.png $"" rss.png
  4. etc... Watch Configuration files Margins less support OptiPNG integration Custom

    CSS output Custom class names PNG8 ... It’s Python!