Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tpkn/css-spritesheet-player
Made for 2 axis sprite sheets
https://github.com/tpkn/css-spritesheet-player
Last synced: 6 days ago
JSON representation
Made for 2 axis sprite sheets
- Host: GitHub
- URL: https://github.com/tpkn/css-spritesheet-player
- Owner: tpkn
- License: mit
- Created: 2017-07-06T19:43:53.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-07-10T13:13:02.000Z (over 7 years ago)
- Last Synced: 2024-11-14T14:32:48.148Z (2 months ago)
- Language: CSS
- Size: 1.35 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CSS Sprite Sheet Player
| Variable | Type | Description |
|-------------|:-------------:|-------------|
| `$sprite_file` | String | sprite sheet file path |
| `$sprite_width` | Number | - |
| `$sprite_height` | Number | - |
| `$frame_width` | Number | single frame width |
| `$frame_height` | Number | and height |
| `$total_duration` | Number | amount of seconds for sprite sheet to be fully played, lower amount - higher speed |
| `$looped` | Boolean | loop animation or not |
| `$rule_prefix` | String | in case you already have the same css selectors |