this post was submitted on 29 Apr 2026
6 points (100.0% liked)

CSS

781 readers
20 users here now

founded 2 years ago
MODERATORS
top 9 comments
sorted by: hot top controversial new old
[–] Lumidaub@feddit.org 3 points 2 weeks ago (2 children)

Exploring the majestic new animation-timeline API

wat

One of the best ways to add a bit of personality to our websites is to animate things on scroll.

No. I can't remember this sort of thing ever adding anything to my experience on a website. It's usually annoying and distracts from the actual content.

[–] Dirk@lemmy.ml 3 points 2 weeks ago* (last edited 2 weeks ago) (1 children)

Absolutely. Scrolljacking is annoying as hell!

[–] codeinabox@programming.dev 1 points 2 weeks ago

I am against scrolljacking too. Though having read through the article, and seen the animation in action at https://whimsy.joshwcomeau.com/, this is not scrolljacking, it's just something that animates as you scroll. It's so unobtrusive that I didn't notice it the first time.

[–] codeinabox@programming.dev 1 points 2 weeks ago (1 children)

Given this is achieved with CSS, there is no reason that users can't disable animations with a user style sheet. In fact this is what some users do, according to a CSS Working Group discussion about disabling view transitions.

Some users do set transition-duration: 0 !important in user style sheets in order to prevent transitions, same with animation: none !important or so.

[–] Lumidaub@feddit.org 1 points 2 weeks ago (1 children)

And that is something the average user does instead of just hitting the back button?

[–] codeinabox@programming.dev 1 points 2 weeks ago (1 children)

Do we know the average user hits the back button when they encounter CSS animations? I was just a conference, and people were talking about browsing the web in reader mode, which I'd argue is more likely.

[–] Lumidaub@feddit.org 1 points 2 weeks ago (1 children)

So why do animations and pretty design at all?

[–] codeinabox@programming.dev 2 points 2 weeks ago

That is a good question. The beauty of the web is that readers can control their experience, be it with ad blockers, increasing the font-size, reader mode, or even changing the whole experience with user style sheets or Greasemonkey. This doesn't mean it's a waste of time to bother with pretty designs. People should build websites that they're proud of, and accept that people might override their design with one better suited to their needs or taste.

[–] TheV2@programming.dev 2 points 2 weeks ago

Websites that let me scroll down and up without any annoying animated hindrance have my thanks.