Created
April 25, 2019 23:47
-
-
Save Dexdot/32d6688b18dd35f46435bc97f3013f43 to your computer and use it in GitHub Desktop.
Get element scale value by 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
| console.log(+getComputedStyle(mainImage) | |
| .transform.slice(7) | |
| .split(',')[0]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment