*{ margin: 0; padding: 0; } .box { width: 100%; /*height: 100%;*/ height: 100vh; position: relative; background:url('../img/indexBgm2.png') no-repeat; background-size: 100% 100%; } .box img { width: 100%; height: 100%; object-fit:cover; } .btn { position: absolute; left: 50%; bottom: .46rem; transform: translateX(-50%); display: flex; width: 2.91rem; height: .46rem; background: #3B7BFF; justify-content: center; border-radius: .04rem; } .btn span { font-size: .18rem; color: #fff; line-height: .46rem; } .btn p { display: flex; align-items: center; } .btn img { width: .23rem; height: .22rem; margin-right: .1rem; }