Move cards on click in slideshow

Hi folks!

I was wondering if anyone knows a technique to move a series of cards on click. What I am trying to achieve is shown here:

Note: I know this could be achieved with a slideshow and images, but am wondering if I could group cards of text and shapes and move the groups.

Thank you!

I would suggest don’t bothering with animations of slideshows, as they won’t get near the example you shared. Maybe consider adding a ready-to-go slider. CommonNinja has some nice ones you can add using simply code.