Skip to main content

Command Palette

Search for a command to run...

CSS Property: content-visibility

Updated
โ€ข1 min read
B
Building AI-powered experiences at Grafana Labs

๐Ÿ‘‰ The CSS property content-visibility allows the web developer inform to the browser rendering engine which parts of the page are out of the user view.

๐Ÿ˜ With this info, the browser can optimize the render flow time to focus on where really matters for the user.

content-visibility: visible;
content-visibility: hidden;
content-visibility: auto;

๐Ÿช” content-visibility using visible or hidden values show or hide respectively the content on a rendering engine level.

โšก๏ธ content-visibility with value auto tells the browser rendering engine to render the elements based on user needs.

More from this blog

Beto Muniz

15 posts