![]() |
The content-visibility CSS property is used to set whether the element will be rendering its contents or not, forcing a solid set of containments, and allowing user agents to potentially omit a large layout and rendering work until it becomes needed. Syntax: /* Keyword values */ content-visibility: visible|hidden|auto; /* Global values */ content-visibility: inherit| initial| revert| revert-layer| unset; Property Values:
Example 1: This example describes how the content-visibility property works. HTML
Output: ![]() Example 2: This example describes how the content-visibility property works using global values. HTML
Output: ![]() Supported Browsers: The browsers supported by CSS | content-visibility property is listed below:
|
Reffered: https://www.geeksforgeeks.org
CSS |
Type: | Geek |
Category: | Coding |
Sub Category: | Tutorial |
Uploaded by: | Admin |
Views: | 11 |