Introduction to CSS
Component of CSS
By this property you can make appear to any element visible or not. This visible element may take the space but not visible.
Let's understand this by the following program:-
As we can see the hidden element also takes up the space.
Some more values of visibility property.These are mentioned below with description
Value | Description |
---|---|
visible | By default value and element is visible here in this property |
hidden | element is not visible here in this property but takes up the space |
collapse | used in the table element to hide any row or column but takes the space |
inherit | It inherits this property from its parent element. |
initial | It is used to set the property to its default value. |
CSS 3 training insitute | Best IT Training classes in Gurgaon | Web Designing Training Institute