.steps {
  display: grid;
  gap: 1rem;
  max-block-size: 9rem;
  margin: 0;
  padding: 1rem 2rem;
  overflow-y: auto;
  background-color: whitesmoke;
}

.steps li {
  padding: 0.75rem;
  background-color: white;
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .steps li {
      animation: slide linear both;
      animation-timeline: view();
      animation-range: entry;
    }
  }
}

@keyframes slide {
  from {
    opacity: 0;
    translate: -2rem 0;
  }
}
