Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
talim
· 8mo ago · 0 comments
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="..." />
Comments
No comments yet.
Better HN