Lazy Loading Images in Svelte

1 · CSS-Tricks · July 16, 2020, 3:20 p.m.
One easy way to improve the speed of a website is to only download images only when they’re needed, which would be when they enter the viewport. This “lazy loading” technique has been around a while and there are lots of great tutorials on how to implement it. But even with all the resources out there, implementing lazy loading can look different depending on the project you’re working in or the framework you’re using. In this article, I’ll use the … Read article “Lazy Loading Images in Svelte”...