.scroller {
  max-block-size: 5.5rem;
  overflow: auto;
  padding: 0.5rem 0.75rem;
  border: 1px solid silver;
  background: white;
  color: black;
}

.scroller p {
  margin: 0.25rem 0;
  font-size: 0.875rem;
}

.track {
  position: sticky;
  top: 0;
  height: 0.35rem;
  margin-bottom: 0.4rem;
  background: #e6e6e6;
}

.fill {
  height: 100%;
  background: crimson;
  transform-origin: left center;
  transform: scaleX(0);
}

@supports (animation-timeline: scroll()) {
  .fill {
    animation: grow linear both;
    animation-timeline: scroll(nearest);
  }
}

@keyframes grow {
  to {
    transform: scaleX(1);
  }
}