original ↗
bram.us·13w

Recording of the demo, recorded in Google Chrome.

How the cascade, the animation-fill-mode, and implicit keyframes make things a bit more complicated then you’d initially think …

~

The ask

On Bluesky, Ryan asked:

Is there any way to combine scroll-driven animations with starting-style? e.g. to have something fade-in on page load with starting-style, but then have its scroll container apply an animation which operates on opacity?

I was quick with my reply to say that should work, but when trying it out later when I was back at my computer … it turned out to be a bit more complicated than…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help