.tltleBox{ text-align: center; width: 10rem; height: 0.585938rem; line-height: 0.585938rem; position: relative; background: #FFFFFF; top: 0; .icon{ position: absolute; left: 0.292969rem; top: 50%; transform: translateY(-50%); mat-icon{ vertical-align: text-top; width: 40px; height: 40px; font-size: 40px; } } .text{ font-size: 0.195313rem; font-family: Source Han Sans CN; font-weight: 500; } }