Comment by talim
9 hours ago
You can do this with just the 'loading' attribute on img elements and let the browser handle it without the gratuitous animations:
<img loading="lazy" src="image.jpg" alt="..." />
9 hours ago
You can do this with just the 'loading' attribute on img elements and let the browser handle it without the gratuitous animations:
<img loading="lazy" src="image.jpg" alt="..." />
No comments yet
Contribute on Hacker News ↗