GlueCSS 精灵生成工具
Glue 是一个简单的命令行工具,用来生成 CSS 精灵 Splites。CSS Splites 是将大量的图片合并成一张大图片一次性加载,然后通过 CSS 来使用具体某个小图片的技术。
特点:
- Automatic Sprite (PNG+CSS) creation.
- Automatic multi-dpi retina sprite creation.
- Support for multi-sprite projects.
- Create sprites from multiple folders.
- Multiple algorithms available.
- Automatic crop of unnecessary transparent borders around source images.
- Configurable paddings per image, sprite or project.
- Watch option to keep glue running watching for file changes.
- Optional .less output format.
- Automatic sprite images post-processing using OptiPNG.
- Sprite- and Project-level configuration via static config files.
- Configurable cache busting for sprite images.
- Customizable output css templates.
- Customizable CSS class names.
评论