D
D
Denis Bukreev2016-10-16 18:49:45
css
Denis Bukreev, 2016-10-16 18:49:45

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

1 answer(s)
_
_ _, 2016-10-16
@denisbookreev

Kapets, it turns out Denis Bukreev and DTX are two different people!!!
Related - image with display:none won't even load

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question