Hello everyone,
I'm doing an animation with a big overlay on page so I'm using the timeline of TimelineMax but I have issue when I'm using .className.
To be brief, when I'm using className, it remove all classes on my element and I don't understand why it overwrite it all.
Should I write it differently to keep existing classes ? Or is it possible to add an overwriting setting for .className ?
This is a codePen that I simplify to troubleshoot : https://codepen.io/FrenchCooder/pen/ZEQpWJe
Thanks in advance