Scroll-Driven Animations
scroll-driven-animations.style
scroll-driven-animations.style
https://developer.apple.com/tutorials/swiftui-concepts/explo...
There are some websites where this is done and it's really cool, but I'm not there to read text on those websites.
Given the choice of a page with information readily available or a page where you have to scroll and it does whacky animations to present the information.. I don’t think many would choose that.
And never use it for anything important, or that I might want to go back to multiple times.
This site is probably an example of a bad use case, cause it's the front page and I can't access the links without scrolling. Not to mention that it's broken on my device.
But as is usual with these things, people on HN are not the typical consumer of these things
[0] https://www.abc.net.au/news/interactives has many, the first one I clicked on was an example https://www.abc.net.au/news/2025-01-28/almost-one-in-ten-peo...
When SVG animation was beginning to be widely supported by modern browsers (about 10+ years ago), a friend did a CSS-enabled SVG animation for a company’s website that explained “How it works” as the user scrolls the website. It worked, and the most asked question of “how it works” support ticket drops, thus increasing conversion and trust.
The website was for a hardware company in California that serves B2B customers with MIPS-based networks, video and security processors, etc.
https://scroll-driven-animations.style/demos/progress-bar/cs...
I was going to ask you to provide source code but it turns that its hand crafted css / js / html
so I am probably going to create a hugo plugin and transform into this (though I would really really like it if somebody could write a dark mode , though I just tried dark reader and its also really nice , feels like magic , but I am going to create a dark button on the top , and change the width of red and maybe the color as well and it could be so cool.
Thanks a lot man
A lot of people are saying , why do you need this , I wouldn't over use it on every page , but I like this , I genuinely do though I also prefer simplicity.
I think that a guy should have two parts of a guide while still adhering to the same guide , maybe have the frontpage a little bit more scroll driven animations , heck three js if you want , but it shouldn't be on my face kind of animations
But keep the inner documentation smooth and simple , pure static html
Most VPs think the point of their website is to impress rather than to inform. I'm only impressed by websites that do inform, but I'm rarely the person who writes a check to the company with the impressive website. That person is ... another VP.
The main objective seems to be advocacy/evangelism on new browser animation APIs, which I welcome [1].
... I agree that the top mouse animation is, errr... a bit ugly, though :-).
--
I don't think that moves the needle much on if people care it doesn't work in FF.
The number is likely extremely close to the number of Firefox users.
Use Firefox! It does not support sites that make you physically ill when you scroll them!