Everything posted by codebloo
Reveal Image - alternating entrances left/right/left/rightoh no I'm sorry my question has spurred so much forum-centric drama 🙈
Reveal Image - alternating entrances left/right/left/rightThank you! This makes a lot of sense of how it's structured. I will read up on wrap, thank you!
Reveal Image - alternating entrances left/right/left/right
Reveal Image - alternating entrances left/right/left/rightthank you for putting this up. Yes I tried this version where I duplicated the whole block but figured there mist be a way to more cleanly integrate the alternating
Reveal Image - alternating entrances left/right/left/rightthanks for your help. I understand most of what you said in theory but not in practice. Where would I put the xPercent: etc line? thanks again!
Reveal Image - alternating entrances left/right/left/rightHi thanks for your suggestions!We're on the same page. I have a ScrollTrigger timeline built (in my codepen example above) it's the batch alternating factor that has me stuck since it needs to be tied to the class but the classes also alternate. Fingers crossed for a code solution
Reveal Image - alternating entrances left/right/left/rightHi! Thank you so much for this incredibly valuable forum. I've learned a lot lurking already. I am having trouble animating an alternating entrance point based on class name. In my example all 3 images "reveal" from left to right, but I'd like them to alternate so the images ON the right reveal from the right. Each block has a class of either "reveal-image-left" or "reveal-image-right" that could be leveraged instead if the "reveal-image" selector that's being used across all 3 images now. (The HTML is identical for each block with the alternating positioning done with Flexbox) I cannot for the life of me figure this out and I'm not fluent enough in GSAP/Js to get this over the finish line. Many thanks for your help!