Hi there !
I'm testing out different border animation cases, and I just figured out a strange behaviour I can't get rid of.
Without animation, my main #box is in foreground, and its child element :after is behind thanks to the z-index set to -1 (that's all the trick in this border animation technique)
But at the moment I add a gsap.from() to my #box, it gets behind the :after element.
Is there something I'm doing wrong, do you know any workaround ?
Edit : same behaviour occurs with gsap.to(). It seems that the transform: translate(0px) gsap adds to style is part of the issue.
Thank you in advance !