CSS系列之display:none与visibility:hidden的区别
yuanyuanbyte opened this issue · 0 comments
yuanyuanbyte commented
display:none
不显示对应的元素,在文档布局中不再分配空间(回流+重绘)visibility:hidden
隐藏对应元素,在文档布局中仍保留原来的空间(重绘)
yuanyuanbyte opened this issue · 0 comments
display:none
不显示对应的元素,在文档布局中不再分配空间(回流+重绘)visibility:hidden
隐藏对应元素,在文档布局中仍保留原来的空间(重绘)