What are the difference between "display:none" and "visibility:hidden" in CSS?
visibility:hidden : Ithides an element, but it will still take up the same space as before. The element will be hidden, but still, affect the layout.
display:none : It hides an element as well as doesn't preserve the space.
Suggest An Answer
No suggestions avaliable!