Created
December 4, 2018 18:43
-
-
Save robertcedwards/98ead0018531fc24879aa433f778f26f to your computer and use it in GitHub Desktop.
Possible data attributes from impress.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* `data-x`, `data-y`, `data-z` - they define the position of **the center** of step element on | |
the canvas in pixels; their default value is 0; | |
* `data-rotate-x`, `data-rotate-y`, 'data-rotate-z`, `data-rotate` - they define the rotation of | |
the element around given axis in degrees; their default value is 0; `data-rotate` and `data-rotate-z` | |
are exactly the same; | |
* `data-scale` - defines the scale of step element; default value is 1 | |
These values are used by impress.js in CSS transformation functions, so for more information consult | |
CSS transfrom docs: https://developer.mozilla.org/en/CSS/transform |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment