body{ width: 100%; min-height: 100vh; background: #fff; } .container{ width: 100%;height: 100%; } .container .bgImg{ width: 100%; } .button{ width: 3.54rem; height: 0.54rem; background: #FF974C; border: none; font-size: 0.18rem; border-radius: 0.12rem; color: #fff; position: absolute; top: 5.2rem; left: 0; right: 0; margin: auto; box-shadow:0px 1px 1px 0px rgba(47,144,255,0.5); }