最基本的: 设置display属性为none,或者设置visibility属性为hidden 技巧性: 设置宽高为0,设置透明度为0,设置z-index位置在-1000 转载于:https://www.cnblogs.com/suyuhuan/p/6027288.html