symfony / demo

Symfony Demo Application
https://symfony.com/
MIT License
2.46k stars 1.61k forks source link

Add a subtle cross-fade view transition #1480

Closed javiereguiluz closed 8 months ago

javiereguiluz commented 8 months ago

On symfony.com we recently added some subtle CSS view transitions.

I propose to add this little change that adds a very subtle cross-fade animation between page loads. For now, it only works on Google Chrome browsers.

weaverryan commented 8 months ago

And you also need to enable it, I believe, currently to automatically see them (thanks to Javier for pointing this out) - chrome://flags#view-transition-on-navigation

(not for Turbo & Turbo 8's auto view transitions, you do not need to enable this flag - just mentioning that here for clarity - it is only the automatic view transitions that requires the flag, it seems)