html,body{height:100%;overflow:hidden;} div{width:100%;height:100%} 转载于:https://www.cnblogs.com/lvke/p/4252182.html