Skip to content

Commit

Permalink
The Navbar Animation is Too Slow
Browse files Browse the repository at this point in the history
Fixes #12
  • Loading branch information
sortedcord committed Nov 16, 2021
1 parent 8edbf7b commit 3136466
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions docs/assets/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -400,42 +400,42 @@
var t1 = new TimelineMax({
paused: true
});
t1.to(".one", 0.8, {
t1.to(".one", 0.1, {
y: 9,
autoAlpha: 0,
ease: Expo.easeInOut
// ease: Expo.easeInOut
});
t1.to(".two", 0.8, {
ease: Expo.easeInOut,
t1.to(".two", 0.1, {
// ease: Expo.easeInOut,
delay: -1
});
t1.to(".tre", 0.8, {
t1.to(".tre", 0.1, {
y: -9,
autoAlpha: 0,
ease: Expo.easeInOut,
// ease: Expo.easeInOut,
delay: -1
});
t1.to(".over-all", 1, {
t1.to(".over-all", 0.1, {
autoAlpha: 1,
ease: Expo.easeOut,
// ease: Expo.easeOut,
})
t1.to(".bg-nav", 1, {
t1.to(".bg-nav", 0.1, {
autoAlpha: 1,
ease: Power4.easeOut,
// ease: Power4.easeOut,
delay: -1
})


t1.to(".menu", 1, {
t1.to(".menu", 0.1, {
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');


Expand Down

0 comments on commit 3136466

Please sign in to comment.