Hi guys,
I basically am designing a site with an animated underline using a :before pseudo element.
I've used CSSRulePlugin to select it and got it to work but is there anyway to make it work at different scrolltrigger events where ever I use the .underline class? At the moment all underlines are triggered as soon as the first is triggered.
I read about the gsap.utils.toArray() and then using a forEach method to treat each node as a seperate animation but it doesn't seem to work with pseudo elements. Is there any work around for this? Thanks in advance!