J
J
Jazzist2011-03-16 21:24:40
css
Jazzist, 2011-03-16 21:24:40

CSS Sprite Tool

What are the best tools for working with CSS sprites and why?

Thank you very much for the detailed answers!

Answer the question

In order to leave comments, you need to log in

3 answer(s)
L
loat, 2011-03-16
@loat

I find it easiest to use Compass or imageMagick to create sprites
ImageMagick example: convert *png -append result-sprite.png
Compass example:
@import "icon/*.png";
@include all-icon-sprites;
.new { @include icon-sprite(new); }
.edit { @include icon-sprite(edit); }
.save { @include icon-sprite(save); }
.delete { @include icon-sprite(delete); }

P
philpirj, 2011-03-16
@philpirj

Here is a very powerful thing, Compass . I'm not sure how convenient it will be for you, but in general, it allows you to combine all the icons into one at the assembly or deployment stage, greatly reducing the number of requests to the server if there are a lot of icons on the page at once.
It’s convenient that in the original it’s still a bunch of icons, and why you don’t need to manually glue each time.
Documentation is not dense, but you can find examples on blogs.

S
SEObomj, 2011-03-16
@SEObomj

I use Photoshop just because I'm used to it. Many people praise the www.spritebox.net service and maybe I will switch to it myself soon. The convenience of the service is that it has more tools for working with sprites. For example, you can immediately create CSS.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question