admin 管理员组

文章数量: 1087649

js中元素隐藏

  1. 元素.style.display = "none" 不占位置
  2. 元素.style.visibility = "hidden" 保留原来位置
  3. 元素.style.opacity = 0 完全透明,保留原来位置

转载于:

本文标签: js中元素隐藏