gka-tpl-sprites
gka 文件生成模板,一键式生成 css keyframes 序列帧动画文件,并内置优化。
内置优化
- 开启合图优化 ✓
- 开启相同帧图片复用 ✓
Install
$ npm install -g gka # install gka
Usage
$ gka <dir> -t sprites [options]
Example
$ gka E:\gka-test\img -t sprites
Before | After |
---|---|
|
|
gka 文件生成模板,一键式生成 css keyframes 序列帧动画文件,并内置优化。
$ npm install -g gka # install gka
$ gka <dir> -t sprites [options]
$ gka E:\gka-test\img -t sprites
Before | After |
---|---|
|
|
npm i gka-tpl-sprites
1
1.2.0
MIT
78.4 kB
10