父元素:position: absolute;
子元素(文字水平垂直居中):100%; position: absolute; top:50%; left:50%; transform:translate(-50%,-50%); text-align: center;
100%;
position: absolute; top:50%; left:50%; transform:translate(-50%,-50%); text-align: center;