feat: sleak transition from store page to item

This commit is contained in:
Huskydog9988
2025-04-07 16:17:55 -04:00
parent 657fd50702
commit 106b3f66a4
4 changed files with 66 additions and 15 deletions

12
app.vue
View File

@ -8,3 +8,15 @@
<script setup lang="ts">
await updateUser();
</script>
<style scoped>
/* You can customise the default animation here. */
::view-transition-old(root) {
animation: 90ms cubic-bezier(0.4, 0, 1, 1) both fade-out;
}
::view-transition-new(root) {
animation: 210ms cubic-bezier(0, 0, 0.2, 1) 90ms both fade-in;
}
</style>