This doesn't work anymore in GSAP v3
TweenLite.to(".green", 2, {className:"-=open"})
What's the alternative?
I need to do this:
gsap.timeline()
.to(document.documentElement, 0, {className:"-=class-1"})
.to(el2, {
translateY: '0',
duration: 1.2,
})
.to(document.documentElement, 0, {className:"-=class-2"})