How can I create loading animation for my website? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How can I create loading animation for my website?

I want to create loding animation like android loading animation. I want it to be shown when the page is being loaded.How can i do it?

5th May 2017, 6:24 AM
Twaha Rahman
Twaha Rahman - avatar
4 Answers
+ 10
there are plenty of contexts where it's better and needed and I'm wrong, but I prefer webpages to load instantaneously
5th May 2017, 6:42 AM
Ahri Fox
Ahri Fox - avatar
+ 2
The sample show loading icon while loading a large image, check it out. https://code.sololearn.com/WXHUApnqKBUq/?ref=app
5th May 2017, 6:28 AM
Calviղ
Calviղ - avatar
0
try whit a overlay in the begining of the html int h the body. but style='display:none' . and a <script> direcly after that make the over lay shown u have this if the user is having JavaScript off. and in dokument redy u hide the overlay to show the page. look at http://getbootstrap.com its a css libery mabe thay have finised overlays its a great libery used by many big sites
5th May 2017, 6:35 AM
Ola
Ola - avatar
0
Use this loader icon when the program waiting for calllback to happen, like the sample shows running loader icon just to let users awake that there is a large image is being loaded into cache.
5th May 2017, 7:04 AM
Calviղ
Calviղ - avatar