CSS Property: visibility
The visibility, or invisibility, of a box.
Possible Values
Value | Description |
---|---|
visible | Default. |
hidden | Invisible. Unlike display: none , visibility: hidden won’t pull the whole box out of the flow — its size and shape will still affect layout. |
collapse | Various table row and column hiding shenanigans. Wildly unpredictable, with different browsers drunkenly breakdancing to different tunes. Avoid. |
inherit | |
initial | |
unset |
Example
p.flummox { visibility: hidden; }