Optimize page load of your website with this progressive image with lazy load.
To get started:
Here’s the demo: Demo
$ npm i progressive-image-lazyload.js$ yarn add progressive-image-lazyload.js
How to use
HTMLput this line of code inside your
SCSSusing npm or yarn
data-thumb— this is where you set your small image.
data-src— this is where you set your large image.
Source code here: https://github.com/arnoldfederis/progressive-image-lazyload.js