{display:block;margin-left:auto;margin-right:auto;} 转载于:https://www.cnblogs.com/ys-wuhan/p/6993384.html