* { margin: 0; padding: 0; box-sizing: border-box; } body { user-select: none; overflow: hidden; background-color: black; } .loding { position: absolute; z-index: 9998; top: 0; left: 0; width: 100vw; height: 100vh; background-color: rgba(0, 0, 0, 0.8); opacity: 1; pointer-events: auto; transition: all 0.5s; display: flex; align-items: center; justify-content: center; flex-direction: column; } .loding .loding1 { width: 80%; height: 6px; border-radius: 3px; border: 1px solid #ddc136; margin-bottom: 20px; position: relative; overflow: hidden; } .loding .loding1 .lodingJindu { position: absolute; width: 0%; height: 100%; background-color: #ddc136; } .loding .loding2 { color: #fff; } .gunDongDom { position: absolute; z-index: 10; right: 2px; top: 0; height: calc(100% - 50px); width: 4px; pointer-events: none; } .gunDongDom .gunDongDomSon { width: 100%; height: 50px; position: absolute; top: 0; left: 0; background-color: #ddc136; border-radius: 2px; } #container { width: 100%; height: 100%; } /* 下面的提示 */ .hand { position: fixed; left: 50%; top: 50%; margin: 0 0 0 -155px; -webkit-animation: hand ease-out 2s 2 normal; animation: hand ease-out 2s 2 normal; -webkit-transform: translateY(-40%) scale(0, 0); transform: translateY(-40%) scale(0, 0); opacity: 0; z-index: 9999; pointer-events: none; } @-webkit-keyframes hand { 0% { -webkit-transform: translateY(-40%) scale(1, 1); opacity: 1; } 60% { -webkit-transform: translateY(-40%) scale(1, 1); opacity: 1; } 65% { -webkit-transform: translateY(-40%) scale(1.1, 1.1); opacity: 0.6; } 70% { -webkit-transform: translateY(-40%) scale(0.9, 0.9); opacity: 0.8; } 75% { -webkit-transform: translateY(-40%) scale(1, 1); opacity: 1; } 100% { -webkit-transform: translateY(-40%) scale(1, 1); opacity: 1; } } @keyframes hand { 0% { -webkit-transform: translateY(-40%) scale(1, 1); opacity: 1; } 60% { -webkit-transform: translateY(-40%) scale(1, 1); opacity: 1; } 65% { -webkit-transform: translateY(-40%) scale(1.1, 1.1); opacity: 0.6; } 70% { -webkit-transform: translateY(-40%) scale(0.9, 0.9); opacity: 0.8; } 75% { -webkit-transform: translateY(-40%) scale(1, 1); opacity: 1; } 100% { -webkit-transform: translateY(-40%) scale(1, 1); opacity: 1; } } @media (max-height: 480px) { .dgImg { width: 60%; } } .listMain { width: 100%; height: 100%; max-width: 500px; position: absolute; top: 0; left: 50%; transform: translateX(-50%); } .listMain .listTit { width: 100%; font-size: 20px; letter-spacing: 4px; text-align: center; padding: 20px 0; } .listMain a { text-decoration-line: none; } .listMain .listBox { width: 100%; height: calc(100% - 70px); overflow-y: auto; display: flex; flex-wrap: wrap; } .listMain .listBox .listRow { width: 48%; margin-right: 4%; margin-bottom: 4%; border-radius: 8px; overflow: hidden; height: 300px; border: 1px solid black; } .listMain .listBox .listRow > div { position: relative; z-index: 10; height: 40px; line-height: 40px; text-align: center; font-size: 18px; background-color: #c5c5c5; } .listMain .listBox .listRow > img { transition: all 0.3s; width: 100%; height: calc(100% - 40px); object-fit: contain; vertical-align: middle; } .listMain .listBox .listRow:nth-of-type(2n) { margin-right: 0; } .listMain .listBox .listRow:hover > img { transform: scale(1.1); }