Skip to content

Commit

Permalink
Fixed The Navbar Animation
Browse files Browse the repository at this point in the history
Merge pull request #13 from sortedcord/sortedcord/issue12
  • Loading branch information
Aditya Gupta authored Nov 16, 2021
2 parents 8edbf7b + 3136466 commit 9cda235
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 9cda235

Please sign in to comment.