📜  transformorigin gsap - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:02:38.292000             🧑  作者: Mango

代码示例1
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