UX: Set View Transitions to instant (no fade animation)

This commit is contained in:
Hanson.xyz Dev
2025-11-28 17:27:01 -06:00
parent 335d84cad5
commit e72097c3a5
3 changed files with 15 additions and 6 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+9
View File
@@ -291,3 +291,12 @@ select {
h2 { font-size: 1.875rem; } h2 { font-size: 1.875rem; }
h3 { font-size: 1.5rem; } h3 { font-size: 1.5rem; }
} }
// ============================================
// View Transitions API - Instant (no animation)
// ============================================
::view-transition-old(root),
::view-transition-new(root) {
animation: none;
}