CSS Visibility Property
CSS 1 |
CSS 2 |
CSS 3 |
|
|
|
|
Description
Specifies whether boxes created by an element are rendered visible.
Syntax
visibility: [value];
Possible values
- visible
- hidden
- collapse
- inherit
Initial Value
inherit
Applies To
All elements
Inherited
No
Media
Visual
Example
#mainDiv {position: absolute;
visibility: hidden;}
Visual Example
{ visibility: visible; }
Loading Twitter