Skip to main content

Hi,

I added a class name “lazyloadclass” to a bunch of sections on my page (trying to lazy load them)

And added the code below in my CSS… but it’s not working to lazy load sections:

 

<style>
  
.lazyloadclass {
  content-visibility: auto;
  contain-intrinsic-size: 0 500px;
}

</style>

 

Not understanding why, anyone have insights on how I’d lazy load sections to improve page speed? (it’s a super long landing page, lot of images below the fold etc, even with condensed files it doesn’t load good)

 

Brian

Be the first to reply!

Reply