.A5Mobile { position: relative; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 99999; width: 100%; height: 100%; transition: all 0.5s; background: url('./image/bg.png') no-repeat center center; background-size: 102% 100%; > div { position: absolute; top: 50%; left: 50%; img { object-fit: contain; width: 100%; height: 100%; } } :global { .title { top: 90px; transform: translateX(-50%); width: 85%; } .logo { top: 20px; transform: translateX(-50%); width: 85%; } .pic1 { transform: translate(-50%, -20%); width: 85%; } .button { cursor: pointer; transform: translate(-50%, 232px); width: 180px; } } }