DEV Community

Discussion on: I made my website 28ms faster with content-visibility 🤓

Collapse
 
norbique profile image
norbique

I tried using this for the footer and unfortunately it makes my margins right and left, reduces the page layout, why?

Collapse
 
dailydevtips1 profile image
Chris Bongers

Hmm not sure, is your footer full width and the rest of your page not?
If that's the case it would be hidden on initial load so it won't work unless you specify the sizes.

Maybe you could setup a quick codepen, happy to take a look.