Replies: 1 comment
-
Hi @levino, I am very happy if I can try to help you with your quest. The relevant The When you go back to "/" the styling is also taken from the "to" page. But "/" has no explicit styling for any So to have a slower 1s morph, add something like this
on both pages or a common Layout. More on animations including the group / morph animations can be found in the Jotter |
Beta Was this translation helpful? Give feedback.
-
This question is actually more about the website than the library:
I find the transition from
/
to/demos
very nice. I see that you are configuring the duration for the animation:https://github.com/martrapp/astro-vtbot-website/blob/0600efd866fd9987a6ec364e359471a5503203c6/src/pages/index.astro#L102-L105
Since you never set a
transition:animate
property, the transition should be the defaultfade
, right? I was able to replicate this more or less in my project (so during the transition an element gets kind of zoomed in on) but the animation is much faster than for your website. Is there anything else that sets the speed of that transition?I hope you do not mind me asking this very basic question which is maybe more an astro support question, but it seems that you @martrapp know the
ViewTransition
API quite well...Thank you for your time!
Beta Was this translation helpful? Give feedback.
All reactions