High performance and SEO friendly lazy loader for images (responsive and normal), iframes and more, that detects any visibility changes triggered through user interaction, CSS or JavaScript without configuration.
I'm sure there is way to accomplish this only with css, but basically what I'm trying to do, is to 'fade-in' the image once the image is fully 'lazyloaded', not when is being lazyloading.
With the above code, while the image is loading, you have a placeholder with black background color (occupying the space with intric-ratio method), but the images render step by step, see screenshot.
I tried a variant of the code above by changing the opacity of .lazyloading to 0. But then my background-color is of course not visible.
Hey there,
I'm sure there is way to accomplish this only with css, but basically what I'm trying to do, is to 'fade-in' the image once the image is fully 'lazyloaded', not when is being lazyloading.
With the above code, while the image is loading, you have a placeholder with black background color (occupying the space with intric-ratio method), but the images render step by step, see screenshot.
I tried a variant of the code above by changing the opacity of .lazyloading to 0. But then my background-color is of course not visible.
Hope someone can guide me with that issue.