Una Kravets and Vladimir Levin:
[…] you can use another CSS property called
content-visibilityto apply the needed containment automatically.
content-visibilityensures that you get the largest performance gains the browser can provide with minimal effort from you as a developer.
content-visibilityproperty accepts several values, but
autois the one that provides immediate performance improvements.
The perf benefits seems pretty big:
… Read article “content-visibility: the new CSS property that boosts your rendering performance”
In our example, we see a boost from a 232ms rendering time to a 30ms rendering