js中元素隐藏 锐少少 2018-11-19 462 阅读1分钟 元素.style.display = "none" 不占位置 元素.style.visibility = "hidden" 保留原来位置 元素.style.opacity = 0 完全透明,保留原来位置