5 ms·
I’d been passively hoping for a command-line image spriting tool for a while, so this is great. But I don’t need it anymore. I’ve discovered @chriseppstein’s f
by alanh 16y ago
I’d been passively hoping for a command-line image spriting tool for a while, so this is great.
But I don’t need it anymore. I’ve discovered @chriseppstein’s fabulous Compass. Now you don’t even need a command line — you can sprite directly in your (s)css!
http://beta.compass-style.org/reference/compass/helpers/sprites/ http://beta.compass-style.org/reference/compass/helpers/spri...
(This version isn’t stable yet, so install with `gem install compass --pre`. Actually, not sure if this feature is stable yet or not, but the beta version of Compass rocks.)
- morganpyne 16y agoI keep beating the Compass drum too. This approach seems like so much work and rather primitive in comparison. Compass will manage all this automatically, on the fly.
- trampsymphony 16y agoAlso worth checking out: - for flexibility, the CSS Sprite gem (https://github.com/flyerhzm/css_sprite https://github.com/flyerhzm/css_sprite) - for ease of use, the Lemonade gem (https://github.com/hagenburger/lemonade https://github.com/hagenburger/lemonade)
- moeffju 16y agoLemonade has actually been rolled into compass in the beta. It is highly recommended to use the compass beta over the lemonade gem now.