bendun.cc

Cross-document view transitions are here!

Written , a 1 minute read

Cross-document view transition just landed in the newest Chromium release (126). This is one of the best features that happened to static pages in a while in Web Platform. Feature seems simple: browser looks at difference between current page and previous page and animates transition between them if both of them opt in with this code in your CSS:

@view-transition {
  navigation: auto;
}

I'm really excited, the web lack support for making website's as flashy as SPAs or JavaScript heavy ones in general, making the classic model of HTML+CSS feel outdated for the common user. Latest trend of features like dialog element gives me hope for well supported future.