Answers for "transform orgin gsap"

4

transformorigin gsap

tl.to(needle, 5, {rotation: 360, transformOrigin:"4px 12px"});
//I measured to where the center of the needle is and got the values from width:4px height: 12px for the transformOrigin
Posted by: Guest on July-18-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language