Answer the question
In order to leave comments, you need to log in
If the block with .gif has display:none, does the gif play and load the processor or not?
Question for connoisseurs (if you do not know, then do not assume, or write what exactly you assume).
There are a bunch of .gif-animations on the Tuev page, bold animations (2-3MB each), subsequently, of course, they are optimized by designers, but that's not the point.
Naturally, two dozen such animations heavily load the processor (not to mention their long loading from the server).
We decided that they will be shown randomly in a random amount. Those. one is loaded, animated, then another, then 3, then one again, etc.
And then I thought: display:none, as it were, removes the element from the page, but it is in the DOM - if the gif (or its parent) has display:none
, is it sleeping or working?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question