.scroller {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  border: 1px solid silver;
  background: white;
  color: black;
}

.slide {
  flex: 0 0 100%;
  block-size: 6rem;
  display: grid;
  place-items: center;
  scroll-snap-align: start;
  border-inline-end: 1px solid silver;
}

.slide:nth-child(even) {
  background: #f5f5f5;
}

.start {
  scroll-initial-target: nearest;
}