.container { background: #fff; height: 100vh; overflow: hidden; } .container,.login-bg { width: 100vw; } .yellow-bg { background: #f5c82e; height: 83vh; transform: rotateZ(-45deg); transform-origin: right top; width: 187vw; z-index: 1; } .car,.yellow-bg { bottom: 0; position: fixed; right: 0; } .car { height: 643rpx; width: 557rpx; z-index: 2; } .logo { height: 192rpx; top: 180rpx; width: 192rpx; z-index: 2; } .btn,.logo { left: 50%; position: fixed; transform: translateX(-50%); } .btn { background-color: #1baa1c; border: 1px solid #218721; border-radius: 9rpx; bottom: 360rpx; color: #fff; font-size: 33rpx; height: 95rpx; line-height: 95rpx; text-align: center; width: 403rpx; z-index: 11; }