From c4a871961d43ed4646f99535be540f0d6634a244 Mon Sep 17 00:00:00 2001 From: Paolo Bautista Date: Sun, 6 Mar 2022 23:18:10 -0500 Subject: [PATCH] CSS Showcase: Content-Visibility --- css-showcase/index.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/css-showcase/index.html b/css-showcase/index.html index 897b539..0ca2237 100644 --- a/css-showcase/index.html +++ b/css-showcase/index.html @@ -80,7 +80,7 @@

Why Use It?

- + Chunks Demo

Applying content-visibility: auto; to chunked content areas gives a 7x rendering performance boost on initial load.

@@ -92,16 +92,16 @@
-
+

The display: none; property Turns off the display of an element so that it has no effect on layout (the document is rendered as though the element did not exist). All descendant elements also have their display turned off. To have an element take up the space that it would normally take, but without actually rendering anything, use the visibility property instead.

-

The visibility: hidden; property is invisible (not drawn), but still affects layout as normal. Descendants of the element will be visible if they have visibility set to visible. The element cannot receive focus (such as when navigating through tab indexes).

+

The visibility: hidden; property is invisible (not drawn), but still affects layout as normal. Descendants of the element will be visible if they have visibility set to visible. The element cannot receive focus (such as when navigating through tab indexes).

-

The content-visibility: hidden; property skips its elements contents. The skipped contents must not be accessible to user-agent features, such as find-in-page, tab-order navigation, etc., nor be selectable or focusable. This is similar to giving the contents display: none.

+

The content-visibility: hidden; property skips its elements contents. The skipped contents must not be accessible to user-agent features, such as find-in-page, tab-order navigation, etc., nor be selectable or focusable. This is similar to giving the contents display: none.