A more detailed description of this now on @css
https://css-tricks.com/tips-for-rolling-your-own-lazy-loading/
My tweets and posts live here on my own domain these days.
You can explore them here and follow me on Mastodon instead of Twitter where I'm not currently active.