5 ms·
You can get smooth transitions with just css too with @view-transition https://developer.mozilla.org/en-US/docs/Web/CSS/@view-transition https://developer.mozil
by arccy 1y ago
You can get smooth transitions with just css too with @view-transition
https://developer.mozilla.org/en-US/docs/Web/CSS/@view-transition https://developer.mozilla.org/en-US/docs/Web/CSS/@view-trans...
- gjsman-1000 1y agoThe 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 https://m.youtube.com/watch?v=jnYjIDKyKHw
- trwired 1y agoWorth mentioning @view-transition is still not supported in Firefox.
- paranoidxprod 1y agoI 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.
- mvdtnz 1y agoNo one uses Firefox (within the margin of error). Use them to your heart's content.
- int_19h 1y agoThis 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.
- 8organicbits 1y agoThis 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.