Skip to content

Commit 5c4702d

Browse files
committed
offset
1 parent 982fd2a commit 5c4702d

File tree

1 file changed

+1
-0
lines changed
  • LongevityWorldCup.Website/wwwroot/partials

1 file changed

+1
-0
lines changed

LongevityWorldCup.Website/wwwroot/partials/head.html

+1
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@
116116
duration: 800, // Animation duration in milliseconds
117117
easing: 'ease-in-out', // Easing function
118118
once: true, // Whether animation should happen only once while scrolling down
119+
offset: 50, // Reduced offset to trigger animations earlier
119120
disable: window.matchMedia('(prefers-reduced-motion: reduce)').matches, // Respect user preference
120121
});
121122
});

0 commit comments

Comments
 (0)