i

Learn HTML and CSS in 10 Days

CSS Visibility

This property is utilized in specifying whether an element is visible or not.

Let’s look at some of its parameters.

  • Visible - This is the default value.

  • Hidden - It tells that the element can’t be seen.

  • Collapse – This parameter is utilized only for tables. It helps in removing either a column or a row without affecting the layout of a table.

  • Initial - The property is set to its default value by this.

  • Inherit – It takes in all the property from its parents.