I am creating small little animations using pure CSS similar to those in codepen.io At the moment, those animations have their own html/css. I would love to chain them together to create a seamless cinematic experiment.
What will be the best way to chain them together and trigger a package(CSS/HTML) after the other?
eg: Once animation A (lorem.css/lorem.html) is finished, it will trigger animation B which is (ipsum.css/ipsum.html)
I would love to keep them separated for ease of management.
I am wondering whether we could use Handlebars.js for this? Since the differences between each HTML file is the body tag. So can I just template the body tag of each HTML file and then swap it out to the next body block when the current animation has ended?
Thanks.