Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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 |