.swiper { width: 100%; white-space: nowrap; box-sizing: border-box; } .scroll-item { width: 100%; box-sizing: border-box; } .scroll-item image { width: 100%; height: 100%; }