@media screen and (max-width: 750px) { html { font-size: calc(100vw / 7.5); } } @media screen and (min-width: 750px) { html { font-size: calc(450px / 7.5); } } html, body, div, ul, li, p { padding: 0; margin: 0; } ul, li { list-style: none; } .code-container { position: relative; width: 7.5rem; height: 100vh; margin: 0 auto; background: url(../img/maJiaBaoGoAppBag.png); background-repeat: repeat-y; background-size: cover; } .top-Text{ position: absolute; top: 0.53rem; left: 0.89rem; } .img-container{ width: 5.72rem; height: 5.17rem; } .btn-content{ position: absolute; bottom: 0.62rem; left: 1.25rem; } .download-app{ width: 4.8rem; height: 0.89rem; display: block; position: relative; } .download-text{ width: 3.43rem; height: 0.42rem; top: 50%; left: 50%; text-align: center; transform: translate(-50%, -50%); position: absolute; } .try-play{ margin-top: 0.14rem; } .success-img{ width: 3rem; height: 3rem; } .success-text{ margin-top: 0.2rem; color: #FFFFFF; font-size: 0.28rem; } #toast-container>.toast-error { background-image: none !important; } .toast-error { background-color: rgba(0, 0, 0, 0.8); } #toast-container>div { font-size: 14px; min-width: 80px !important; padding: 12px !important; box-shadow: none; } .toast-center-center { min-width: 100px; top: 50%; left: 50%; text-align: center; transform: translateX(-50%); } @media (max-width: 480px) and (min-width: 241px) { #toast-container>div { min-width: 80px !important; width: auto; } }