.bg { position: relative; width: 100%; height: 100%; background: #ffe3dc; } .bg image { width: 100%; height: 1127rpx; }