Skip to content

Commit

Permalink
Fine Tuned Nav Animations Ref
Browse files Browse the repository at this point in the history
The Navbar Animation is Too Slow #12
  • Loading branch information
sortedcord committed Nov 16, 2021
1 parent 9cda235 commit c5c8eeb
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions docs/assets/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');


Expand Down

0 comments on commit c5c8eeb

Please sign in to comment.