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

> "I build separate, small HTML pages for each “interaction” I want, then I let CSS transitions take over and I get something that feels better than its JS counterpart for way less work."

I'm not understanding how you are achieving the css transitions between what look like new page loads under the hood...Can you elaborate on how that works?




Surprisingly, Firefox of all browsers doesn't support it.

https://caniuse.com/view-transitions


That's a pretty major deal breaker for OP to leave out of his post touting it as something to build everything in your site on (especially for a tech blog)! Does it at least have a polyfill story? I see no mention of how to make it work on, uh, the other 15% of browsers worldwide, CanIUse is telling me.


If you use it in a browser that doesn't support view transitions, the pages just don't animate. no harm no fowl


It's not that surprising if you consider that all the browsers on that page, except for Firefox and Safari, are Chrome-based


Very cool, thanks!




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

Search: