Get Value of CSS Rotation through JavaScript

Get Value of CSS Rotation through JavaScript

Is there a way to get the angle through JavaScript by which the element is rotated?

See the Pen Get Value of CSS Rotation through JavaScript by Chris Coyier (@chriscoyier) on CodePen.

[…]

See the Pen Get Value of CSS Rotation and Translation through JavaScript by Dieter Raber (@draber) on CodePen.