Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
talim
86 days ago
|
parent
|
context
|
favorite
| on:
Death to Scroll Fade
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="..." />
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: