.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: 100% 100%; > div { position: absolute; top: 50%; left: 50%; img { object-fit: contain; width: 100%; height: 100%; } } :global { .title { opacity: 0; transform: translate(-58%, 0); top: 90px; width: 80%; } .A5-pic1 { opacity: 0; transform: translate(-55%, 0); top: auto; bottom: 25px; width: 230px; } .A5-pic2 { opacity: 0; transform: translate(-73%, -50px); width: 255px; } .A5-pic3 { opacity: 0; transform: translate(-60%, 0); top: 30px; width: 290px; } .button { opacity: 0; cursor: pointer; transform: translate(-107%, 640%); width: 200px; } } } .animate { :global { .title{ opacity: 1; top: 70px; transition: all 1.2s ease-in; } .A5-pic1 { opacity: 1; transform: translate(-75%, 0); transition: all 3.2s 2s; } .A5-pic2 { opacity: 1; transition: all 4s; } .A5-pic3 { opacity: 1; transition: all 2.2s 0.5s; } .button { opacity: 1; transform: translate(-87%, 640%); transition: all 0.8s ease-in-out 1.5s; } } }