居中问题

1.使用负边距

2.使用样式中的transform实现

3.flex伸缩布局

盒子模型box-sizing:

原文地址:https://www.cnblogs.com/littlewriter/p/7109620.html