Answer the question
In order to leave comments, you need to log in
How to make all page content open at once?
There are 30 icons on the page, when I go to this page the icons open one by one, so it's noticeable to the eye. What advise, can install a loader? Or are there better ways to download all content at once?
(And besides this https://habrahabr.ru/post/137239/ )
Answer the question
In order to leave comments, you need to log in
1. If there is no loader, then listen to onload - and show everything at once through display: block. Or animate opacity and translateY from 100px to 0;
2. Get the number of icons, reserve a place for them on the page with stubs (number of icons = blocks with a light image) and then load the rest into them
. In general, the loader is cool. tobiasahlin.com/spinkit
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question