I have created a CSS animation that I want to use as a page preloader. Right now the animation the working fine for a single iteration but I want to restart the animation from the start every 5 seconds after it completes. I want to play it like an infinite loop.
If I use iteration count infinite then each animation will start as soon as it completes, at that point the entire animation is still running. Is there any way to start the whole process like after every 5 or 6 seconds?
Please find the stackblitz editor URL - https://stackblitz.com/edit/web-platform-7tyxh5?file=styles.css