How do I use a GIF as a loader? Answer
Also, we see how to add a gif animation as a loading animation, which is designed by Hassan Alkhateeb.
…
Add the below code after the opening of the body tag and replace the src value with the relative path of the gif you want to use: