Basic use
example.css
.section {
content-visibility: auto;
contain-intrinsic-size: 800px;
}
The content-visibility property lets the browser skip rendering work for content that is not needed yet. auto is the common choice for long documents.
.section {
content-visibility: auto;
contain-intrinsic-size: 800px;
}.section {
content-visibility: auto;
contain-intrinsic-size: 800px;
}content-visibility is a CSS property.
Check support for your audience.
Bottom line: Prefer progressive enhancement when support varies.
Continue with mask.
CODETOFUN NEWS
Get the latest IT news, programming updates, and technology trends directly on your phone.
Your daily dose of tech, straight to your feed.
3 people found this page helpful