What is the difference between visibility:collapse and display:none?
visibility:collapse should only be used on tables. On other elements it will act as a visibility:hidden.
visibility:hidden hide the element but still take the space of the element whereas display:none won't even keep the space.
Resources :
On the same topic :