Skip to content

Commit

Permalink
Update script1.js
Browse files Browse the repository at this point in the history
  • Loading branch information
poojitha-ch authored Nov 2, 2024
1 parent 1859448 commit f0d43a4
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions script1.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,7 @@ let scrollTween = gsap.to(sections, {
}
});

console.log(1 / (sections.length - 1))

//Progress bar animation

gsap.to(mask, {
width: "100%",
scrollTrigger: {
trigger: ".wrapper",
start: "top left",
scrub: 1
}
});

// whizz around the sections
sections.forEach((section) => {
Expand All @@ -54,9 +43,7 @@ sections.forEach((section) => {
}
});
});
// learn what all this code means at
// https://www.creativecodingclub.com/bundles/creative-coding-club
// unlock over 250 GSAP lessons today



const details = gsap.utils.toArray(".desktopContentSection:not(:first-child)")
Expand Down

0 comments on commit f0d43a4

Please sign in to comment.