finds.dev← search

// the find

hakimel/stroll.js

★ 4,342 · HTML · MIT · updated Jul 2020

CSS3 list scroll effects

stroll.js adds CSS 3D transform scroll effects to HTML lists — items animate as they enter or leave the viewport. It's a circa-2013 visual flourish library from the author of reveal.js, aimed at anyone who wants scroll-triggered list animations without writing the math themselves.

The effects are genuinely well-executed for what they are — the demo page shows a dozen distinct animations that hold up visually. MIT licensed with no dependencies. The API is intentionally minimal: one bind call and a CSS class. Paul Irish contributed perf improvements, so the scroll handler isn't naive.

Abandoned since 2020, last meaningful work probably earlier than that. The 'mobile support' is iOS/Android 4.x — that's a device from 2011. No npm package, no module format, just a global stroll variable from a script tag. Intersection Observer didn't exist when this was written and it still uses scroll event listeners, which is the slow way. In 2026 you'd just write 20 lines with IntersectionObserver and a CSS class toggle.

View on GitHub → Homepage ↗

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →