CSS sprites shouldn't add production time (and 4 other tips)
matchstrike.net
matchstrike.net
It's a ruby executable (no ruby knowledge required to use it though) that easily generates sprite files and css from a directory structure. It defaults to something sane, but you can overwrite it via config/sprite.yml
Install it via:
gem install sprite
Then run it via: sprite
Check out the README to learn how to configure. If anyone knows their way around ImageMagick on the command line, please msg me on github (merbjedi). Would love your help on 4 lines of RMagick code I need to get converted so I can remove this dependency.The tips speed up production with sprites, but it's still faster to produce sites without using sprites.
I really didn't touch on this as much as I would like in the post. Would a process post on this be of interest to you?
It would to me. I have some interest in CSS sprites, but working with them always seems cumbersome.
I'd categorically recommend against all of them, however. I feel it's a better practice to manage it yourself. Of course, if you need to convert multiple sites fast, they might be worth a try.