view transitions with almost no css
Some checks failed
test / cargo test (push) Failing after 1m10s

This commit is contained in:
2024-10-09 11:18:47 +02:00
parent d9d17bb971
commit 086ec33d7b
8 changed files with 50 additions and 10 deletions

View File

@ -266,3 +266,18 @@ article a {
transform: translate(0, 0);
}
}
@view-transition {
navigation: auto;
}
/* Define the animation for persistent elements (like the header and title) */
/* ::view-transition-group(*) { */
/* transition: transform 3.4s ease-in-out; */
/* } */
/* ::view-transition-group(blog_post_preview) { */
/* animation-duration: 5.5s; */
/* transition: transform 5.4s ease-in-out; */
/* opacity: 1; */
/* } */