How to lazy load images
>> YOUR LINK HERE: ___ http://youtube.com/watch?v=mC93zsEsSrg
Continuing my dive into the Intersection Observer API, this week I look at probably the most practical use case for them, lazy loading images! It's relatively easy to do, and we can use the intersection observer's rootMargin to make sure the image loads before it enters the screen. • Other videos in this series: • Introduction to Intersection Observer: • Introduction to the Intersection Obse... • Change navbar style on scroll: • How to change your navigation style o... • Slide in and fade in on scroll: • Fade and scroll items into view while... • Great article that goes into a lot of detail on Intersection Observers: https://www.smashingmagazine.com/2018... • #javascript #lazyload • --- • Come and hangout, ask questions, suggest ideas, and meet some awesome people over in The Community: / discord • I have a newsletter! https://www.kevinpowell.co/newsletter • New to Sass, or want to step up your game with it? I've got a course just for you: https://www.kevinpowell.co/learn-sass • --- • My Code Editor: VS Code - https://code.visualstudio.com/ • How my browser refreshes when I save: • How to automatically refresh your bro... • --- • Support me on Patreon: / kevinpowell • I'm on some other places on the internet too! • If you'd like a behind the scenes and previews of what's coming up on my YouTube channel, make sure to follow me on Instagram and Twitter. • Instagram: / kevinpowell.co • Twitter: / kevinjpowell • Codepen: https://codepen.io/kevinpowell/ • Github: https://github.com/kevin-powell
#############################
