工具,使CSS sprites? [英] Tools to make CSS sprites?
问题描述
有没有什么好的工具来使css sprites?
非常好我想给它一个图像目录和一个现有的.css文件,图像,并创建一个大图像优化所有的小图像和更改我的.css文件来引用那些图像。
至少我想要它获取一个图像目录,并生成一个大的精灵和使用每个作为背景的.css。
有什么好的Photoshop插件或完全开发的应用程序吗?这将为您完成90%的工作: http://spritegen.website-performance.org/。您仍然需要自己编辑规则,但该工具会为您提供新CSS文件所需的代码段。
Are there any good tools to make css sprites?
IDEALLY I'd want to give it a directory of images and an existing .css file that refers to those images and have it create a big image optimized with all the little images AND change my .css file to refer to those images.
At the least I'd want it to take a directory of images and generate a big sprite and the .css necessary to use each as a background.
Are there any good photoshop plugins or fully blown apps to do this?
This will do 90% of the work for you: http://spritegen.website-performance.org/. You'll still need to edit the rules yourself, but the tool will give you the code fragments you need for the new CSS file.
这篇关于工具,使CSS sprites?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!