Web UI - Element Visibility (display:none vs visibility:hidden)

About

To hide an element in CSS, you may use:

The difference is that:

  • with the display:none option, you will not see any blank space
  • while with visibility:hidden, you will (if the element is positioned - ie not absolute)

Powered by ComboStrap