DEV Community

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

Collapse
 
dailydevtips1 profile image
Chris Bongers

Good question John,
It a thin line, so doing it will have no performance downside, but you might get issues with layout shifts.

I spend some more time on it, and if I use it on everything my layout shits are too much, so decided to only put it on certain elements, and try and define the height of the element.