Glue 介绍
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.
Glue 官网
https://github.com/jorgebastida/glue
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。