Orchestrating page transitions in MPAs with the View Transitions API using CSS alone
Using the View Transitions API's cross-document mode, you can implement cross-fade and shared element transitions between pages on MPA and SSG sites with just two lines of CSS declarations and no JavaScript, while unsupported browsers automatically fall back to the default behavior, preserving the principle of Progressive Enhancement.