行内元素:text-align: center;
块级元素:margin: 0 auto;
使用定位:position: relative; left: 50%; tranform: translateX(-50%);
使用flex: display: flex; justify-content: center;