Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You can get smooth transitions with just css too with @view-transition https://developer.mozilla.org/en-US/docs/Web/CSS/@view-trans...



This feels like bringing the annoying transitions people used to use between slides in PowerPoint to the web. There's nothing smooth about the transition in the linked demo, it's quite jarring.


Bring back the <blink> tag.


The point is there's no reload flash as you switch between pages. The specific transition is up to the author.


Worth mentioning @view-transition is still not supported in Firefox.


I believe it’s finally enabled by default in nightly builds, so it should be standard soon. I may be wrong and it may have been scoped css enabled, but both are available by feature flags on nightly and plan to be enabled by default by the end of the year.


This just means that user doesn't get the animation tho, right? The actual page transition still happens, so you get graceful fallback without the need to do anything special.


No one uses Firefox (within the margin of error). Use them to your heart's content.


The view transitions can even do most of the in-page or cross-page animations marketing wants. Just with way, way less code or things to break.

https://m.youtube.com/watch?v=jnYjIDKyKHw




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: