Sticky Story Scroll Animation
Text steps scroll past on the left while the picture on the right swaps to match. Preview it, adjust the scroll length and smoothing, and copy the HTML, CSS and JavaScript.
When to use Sticky Story
Use it to explain how something works, one step at a time, with a matching picture for each step.
Paste the HTML where the section should go, add the CSS to your stylesheet, and load the JavaScript once at the end of the page. This effect is a fresh build of the pattern from Aceternity UI Sticky Scroll Reveal.
More scroll animations
- Gallery to Hero: A photo grid zooms in until the middle picture fills the screen and becomes the hero.
- Stacking Cards: Each card slides up over the last one, which shrinks back into a neat stack.
- Horizontal Gallery: The page pins and a row of pictures slides sideways as you keep scrolling down.
- Tilted Hero Rows: Rows of work start tilted back in 3D, then flatten and slide apart as the headline clears.
- Tilt-Up Screen: A product screenshot lies tilted back, then stands up flat to face the visitor.
- Elastic Columns: Gallery columns scroll at different speeds, so the grid stretches and catches up.
- Zoom-Through Title: A giant word grows until you fly through a letter into the next scene.
Frequently Asked Questions
Can I add a fourth step?
Yes. Add a step and a picture with --i set to 3, then change the 2 in the --n line of the CSS to 3.