From c5c8eeb7aa86641299fd6022b5d8440232597e39 Mon Sep 17 00:00:00 2001 From: Aditya Gupta Date: Tue, 16 Nov 2021 11:32:52 +0530 Subject: [PATCH] Fine Tuned Nav Animations Ref The Navbar Animation is Too Slow #12 --- docs/assets/js/main.js | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/docs/assets/js/main.js b/docs/assets/js/main.js index e67dfbd..ab594a0 100644 --- a/docs/assets/js/main.js +++ b/docs/assets/js/main.js @@ -403,39 +403,39 @@ t1.to(".one", 0.1, { y: 9, autoAlpha: 0, - // ease: Expo.easeInOut + ease: Expo.easeInOut }); t1.to(".two", 0.1, { - // ease: Expo.easeInOut, + ease: Expo.easeInOut, delay: -1 }); t1.to(".tre", 0.1, { y: -9, autoAlpha: 0, - // ease: Expo.easeInOut, + ease: Expo.easeInOut, delay: -1 }); - t1.to(".over-all", 0.1, { + t1.to(".over-all", 0.6, { autoAlpha: 1, - // ease: Expo.easeOut, + ease: Expo.easeOut, }) - t1.to(".bg-nav", 0.1, { + t1.to(".bg-nav", 0.6, { autoAlpha: 1, - // ease: Power4.easeOut, + ease: Power4.easeOut, delay: -1 }) - t1.to(".menu", 0.1, { + t1.to(".menu", 0, { autoAlpha: 1, - // ease: Expo.easeOut, + ease: Expo.easeOut, delay: -1 }) t1.staggerFrom(".menu ul li", 3, { y: 50, opacity: 0, - // ease: Power4.easeInOut, + ease: Power4.easeInOut, }, '0.1', '-0.01');