CSS visibility property

Usage

Specifies whether an element is visible or not.

Values

  • visible - the element is visible
  • hidden - the element is invisible
  • collapse - can be used within a table to remove a row or column

Example

Code:

#secret {
  visibility: hidden;
}