Edit It: Use window.getcomputedstyle() to Convert Transform Functions to matrix()
This code shows how to use the window.getComputedStyle() method to convert the CSS transform functions to matrix().
See it on StackBlitzThis code shows how to use the window.getComputedStyle() method to convert the CSS transform functions to matrix().
See it on StackBlitz