Hi,
Anyone got any ideas as to why this doesn't work? CSS version is correct, GSAP is not.
z:200 is not doing anything?
gsap.to(box1, {
duration: 2,
x: 200,
z: 200, // Not working??
rotationY: 360,
backgroundColor: "#000000",
color: "#FFFFFF"
});
Thanks
D
See the Pen OJPZMmN by Starglider (@Starglider) on CodePen
Hi,
Anyone got any ideas as to why this doesn't work? CSS version is correct, GSAP is not.
z:200 is not doing anything?
gsap.to(box1, {
duration: 2,
x: 200,
z: 200, // Not working??
rotationY: 360,
backgroundColor: "#000000",
color: "#FFFFFF"
});
Thanks
D
See the Pen OJPZMmN by Starglider (@Starglider) on CodePen