Skip to content
Advertisement

Tag: css-transforms

Transformation matrix rotation not preserving local axis scaling?

I have a simple transform class to apply translations, scales and rotations on a div in any arbitrary order: A problem arises when I wish to rotate after a non-uniform scale has been made. Edit – Newer interactive example: https://codepen.io/manstie/pen/RwGGOmB Here is the example I made: https://jsfiddle.net/ft61q230/1/ In the example here: The expected result is for Test 1 Text and

Advertisement