r/webdev • u/GumboGuts • Oct 24 '26
Showoff Saturday Made a CSS-only scroll animation library, 34 moves, no JS
https://usedolly.devIt's one stylesheet. You put `data-dolly="tilt-up"` on something and it animates as you scroll past. That's it. No dependencies, no JavaScript.
It's a vocabulary layer over CSS scroll-driven animations, which shipped in Chrome 115 and Safari 26 but have ergonomics nobody remembers.
The demo page doesn't run any JavaScript at all, so everything moving on it is just CSS.
34 moves named after camera stuff (pan, tilt, crane, rack focus).
Firefox doesn't do scroll timelines yet (supposedly coming in the next version in 3 days) so it gets a plain static page. That's on purpose, nothing is hidden waiting to be revealed, so the page is still usable.
99
u/Seventhcircle72 Oct 24 '26
I think it's a noble pursuit, but your demo page is incredibly laggy and janky- doesn't bode well for an animation library. It performs really poorly on my mobile.
73
u/diiscotheque Oct 24 '26
Incompatible with Firefox is a no go.
6
u/cateyesarg Oct 24 '26
Chrome on android, extremely laggy, sorry dude, if you need a M6 Ultra to run it, it's worthless
3
u/LuisG8 Oct 24 '26
Not working in Brave Android
2
u/mokolabs Oct 24 '26
The homepage won’t scroll on Safari. :(
28
u/hootener Oct 24 '26
I can't comment on the library because I haven't used it and several people have already mentioned some performance issues, etc that I encountered on mobile.
My feedback: please write your own landing page copy. Or have Claude draft it for you and then you can edit / punch up what comes out such that it sounds like how humans actually speak.
When I encounter marketing sites like this that are copywritten by Claude it lowers my trust in the project itself. If you can't take thirty minutes to punch up a modicum of text what other skeletons are hiding in the closet?
Claude is absolute dogshit at prose. So much so that it's pretty much immediately identifiable in the wild. Vibe coded or not you gave your limited time on this Earth to see this library exist. If you're going to do that, at least put your fingerprints on the marketing copy, too.
19
u/paragraphbaron Oct 24 '26
The AI copy on your website is really bad, bordering on non-sensical. That's a big tell that I wouldn't use the library as it offers no ingenuity I couldn't get from my own prompts.
1
u/_selfthinker Oct 24 '26
That sounds interesting. I wish I could see it in action. I'm using Chrome 150 and nothing happens at all for me on your demo site. A video might help, just to see what it's supposed to be doing.
6
u/rhooManu full-stack Oct 24 '26
*chef's kiss*
1
u/Key-Common7139 Oct 24 '26
31 or 34, pick one.
4
u/ferrybig Oct 24 '26
Doesn't seem to work in Firefox mobile. The page doesn't change when I scroll and then it suddenly jumps to another transition
2
u/becauseiliked Oct 24 '26
The intention behind it is really cool. The web version looks fine, but on phone it seems to be a bit off.
2
u/skizzoat Oct 24 '26
Unusable on Android
2
u/Heretic911 Oct 24 '26
Horrible on android.
1
u/ikeif Oct 24 '26
I dig it. Reminds me when I worked at an agency and we made sites that used things like this. Now I only ever make internal UIs.
1
u/scylk2 Oct 25 '26
Doesn't work well in Samsung browser either 🫤
1
u/Acceptable-Gas4310 Oct 26 '26
The image says 31 moves, the title and body say 34. Are the other three hiding behind the cinema seats or did the count just creep up between renders
1
u/Disastrous-Town-4820 Oct 24 '26
the reddit app drops the momentum, chrome doesn't
filter and clip-path still leave the compositor. thats the 11 moves that aren't transform or opacity
0
u/ryanstephendavis Oct 24 '26
I'm on Firefox, is that why it's not really doing anything?
-1
u/prince_jyggalag Oct 24 '26
This is so wonderful oh my good
0
u/nard-studios Oct 26 '26
I like the idea, but the library needs some real performance tuning on mobile. It's very laggy.
1
u/[deleted] Oct 24 '26
[removed] — view removed comment