01.03 · Scroll-Based
Reverse-Scrolling Columns
Side columns run the opposite way to the middle one. Best for portfolios.
Scroll it
Scroll inside the box, or press Play and it scrolls for you.
Each column holds its cards twice, and the box is a window sliding down the middle and up the sides, then jumping a copy. Scroll the box or press Play to watch.
All one way moves every column up with the scroll, like a plain page; Sides reversed sends the side columns down against it. Scroll the box or press Play to watch.
Try it
Change a setting, then scroll again or press Play.
Side columns go
Same way shows the plain scroll, for comparison.
Side column speed
Their speed compared with the middle column.
Copy the prompt
Paste it into an AI assistant such as ChatGPT, Claude or Cursor to build this in your own project.
Add reverse-scrolling columns to [your grid of project cards or images]. Lay the cards out in three columns and hold them in view while the visitor scrolls through a taller section. Move the middle column up with the scroll, and move the two side columns in the direction and at the speed given in the settings; running them the opposite way makes them seem to flow against the scroll. Put two copies of the cards in each column and wrap the movement by exactly one copy's height, so the columns never run out. If the visitor has reduced motion turned on, keep the columns still. Match the settings listed below.
Your settings
Replace the words in brackets with your own element. Your settings are added at the end.
Free and open source. If this helped, a star on GitHub helps other people find it.
Star on GitHubWhat it is
The full explanation is in README.md.