position: absolute; bottom: 0; width: 100%; 加上width: 100%;就可以让div固定到底部并且居中 转载于:https://www.cnblogs.com/xuedong09/p/3142603.html