CSS tip: animated page transitions with zero JavaScript.
@view-transition {
navigation: auto;
}
Add it to both pages and every link click crossfades. Give an image the same view-transition-name on both pages and it morphs from one into the other.
CSS tip: animated page transitions with zero JavaScript. @view-transition { navigation: auto; } Add it to both pages and every link click crossfades. Give an image the same view-transition-name on both pages and it morphs from one into the other.
0 views
Published on 30/11/2026 11:39
CSS tip: animated page transitions with zero JavaScript.
@view-transition {
navigation: auto;
}
Add it to both pages and every link click crossfades. Give an image the same view-transition-name on both pages and it morphs from one into the other.
markodenic.tech/ebook/modern...