Show and hide the inner contents

visibility

Make the element's content visible or hidden.

Property values

Note that this merely hides the element's inner content, while retaining the layout space that it would normally occupy. One of these key values:

visible Show the inner content
hidden Hide the inner content
collapse A value used on table cells and flexbox items to hide cells without recalcuating the parent table

Examples

visibility: hidden;
visibility
0

style > appearance > visibilityShow and hide the inner contents

🔗 🔎