1、已知宽高的块级元素居中: 2、未知宽高的块级元素居中: 转载于:https://www.cnblogs.com/Zhengxiaoxiao/p/10662251.html