Home › Forums › CSS › How to load image when I reach it after scrolling? › Reply To: How to load image when I reach it after scrolling?
November 7, 2019 at 8:34 am
#298569
Participant
@mrdeveloper There are resources for non-WP sites too. There are about 5 listed on here:
https://www.pcrepairmansblog.com/lazy-loading-libraries-for-html-css-websites
but there are a few others available if you search. I have used Lazysizes without any problems and it’s quite lightweight.
I have never seen a CSS only approach that actually doesn’t load the image. Be careful, some CSS code may load the images but simply turn off visibility which won’t help.