DevToolBox

CSS Scroll Timeline Generator

Generate CSS scroll-driven animations using scroll-timeline

Scroll Timeline Settings

Animation Properties

Browser Support

CSS scroll-timeline is experimental. Check browser support:

  • Chrome 115+ (with experimental flag)
  • Edge 115+ (with experimental flag)
  • Limited support in other browsers
  • Consider using polyfills for production

Generated CSS

.scroll-container {
  scroll-timeline-name: myScroll;
  scroll-timeline-axis: block;
}

.animated-element {
  animation: fadeIn linear;
  animation-timeline: myScroll;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.5);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

HTML Structure

<div class="scroll-container">
  <div class="animated-element">
    Content that animates on scroll
  </div>
  <!-- Add more content to enable scrolling -->
</div>

Demo Preview

Scroll to see animation

Note: Demo may not work in all browsers