Hello, I've been trying to create a card stacking animation. It works fine but the trigger element's (the parent -.crdas-) height does't change despite using height : auto. because of that I'm getting this giant free space under the cards.
So, how can I make the parent element end by the end marker? Are there any better ideas ? . Please open the codepen in the full mode.
Thank you for your help.