📜  gsap.to - 任何代码示例

📅  最后修改于: 2022-03-11 14:56:09.808000             🧑  作者: Mango

代码示例1
//rotate and move elements with a class of "box" ("x" is a shortcut for a translateX() transform) over the course of 1 second. 
gsap.to(".box", {rotation: 27, x: 100, duration: 1});