3 ms·
> It also animates empty white boxes instead of showing their content because it’s the only way anything can be animated on a webpage with decent performance.
by nostrademons 3y ago
> It also animates empty white boxes instead of showing their content because it’s the only way anything can be animated on a webpage with decent performance.
That's not the only reason, although it is one. Two of the other big reasons for this are:
1. The content is often loaded async while the boxes render, and this hides the latency of doing a network fetch.
2. Animating text looks terrible. Even if you had a perfectly fast computer, you wouldn't want to animate boxes filled with text and images, because it looks really bad.