/* packageB/pages/AI-test-skin/analyse/analyse.wxss */ page { width: 100%; height: 100%; } .content { /* display: flex; flex-direction: column; align-items: center; */ background: #515658; width: 100%; height: 100%; } @keyframes mymove { from { background-position: 0, 0; } to { background-position: -9450px 0; } } .img { background: url("https://mshopimg.yolipai.net//miniapp/images/skinimg/11.png"); margin-top: 15%; display: inline-block; width: 350px; height: 350px; transform: scale(0.55); animation: 1s mymove infinite steps(27, end); } .progress { margin-top: 3%; width: 60%; /* text-align: center; */ margin-left: 50%; transform: translateX(-50%); }