Stack for hide Gifs


Is there a stack or a feature how i can hide different gifs on my website?
I have three gifs and want to show for 30sec the first and after that the second gif and so on.

Is there a opportunity to do this?