.content-box { align-items: center; background: #fff; border-radius: 10rpx; display: flex; flex-direction: column; justify-content: center; min-width: 100%; } .image1 { align-self: center; height: 70%; width: 70%; } .box { align-items: center; display: flex; justify-content: center; padding: 15rpx; z-index: 1; } .box,.image2 { position: absolute; width: 95%; } .image2 { box-shadow: 1rpx 1rpx 5rpx #f5f5f5; z-index: 2; }