.container { position: absolute; top: 0; bottom: 0; left: 0; right: 0; overflow: hidden; } 转载于:https://www.cnblogs.com/mengff/p/6124104.html