Hi, thanks for providing the changes and some examples.
It can lead to great effects in the UI, and it seems to be easy to achieve with what you've done.
I'm curious where did you get the idea? some other framework/library?
No, I was looking at this site and thought it'd be cool if there was a way to achieve this sort of effect with built-in Svelte tools only.
This kind of animations are so cool!
If I follow the "inspiration chain", I see the influence of Sarah Drasner's work, I knew it ;-)
I once saw her live, back in 2017, and my mind was blown 🤯:
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.