How would you differentiate between “visibility: hidden” and “display: none”?
visibility:hidden | display:none |
---|---|
This is the property which is used to hide the element, however, it occupies the space in the actual layout. | This is the property that is used to remove the element completely without occupying any space in the layout. |
BY Best Interview Question ON 05 Oct 2020