css样式

display:none和visibility:hidden的区别

none表示没有,即当前位置被后面元素补上来,

hidden表示隐藏,但是其位置会保留。

原文地址:https://www.cnblogs.com/starrk-01/p/9498644.html