https://www.cnblogs.com/hutuzhu/p/4450850.html
方法7:display:flex和margin:auto 比较好,也使用中
.box8{
display: flex;
text-align: center;
}
.box8 span{margin: auto;}