redink
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
Downloads
Posts posted by redink
-
-
-
Hi. This is my first time using Greensock on a project and I am loving it so far. But I am very much finding my way as I go along. I have two questions about my codepen.
I have adapted a 'card flip' codepen and all seemed fine - however if I add a 6th card item to the html, the animation stops working. The codepen shows the basic page with 5 card flips that work, but if you edit the code pen and add another card (copy and pasting from <!--CARD--> to <!--end CARD-->), it stops! I apologise in advance if I am not seeing something basic, but any help is much appreciated.
My other query is when it working, I have an issue with the play/reverse code. If one card is showing blue and another green, it takes two clicks to get the animation working again. I understand it is something to do with the current state of the play - but just can't figure out a solution.
Thanks so much.
See the Pen jOrOBrM by rcopestake (@rcopestake) on CodePen
Animation stops working after adding 6th html item
in GSAP
Posted
Thanks again - yes that does help and the Migration link is very useful.