Skip to content

Commit

Permalink
FIXING GSAP
Browse files Browse the repository at this point in the history
  • Loading branch information
nhicksdesign committed Jan 4, 2025
1 parent 85a498b commit 4665547
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
// use a script tag or an external JS file
document.addEventListener("DOMContentLoaded", (event) => {
gsap.registerPlugin(ScrollTrigger,ScrollToPlugin,TextPlugin)
gsap.set({title}, {opacity:0})
gsap.to({title}, {opacity:1, duration:1, ease: "sine.inOut"})
gsap.to({"#title"}, {opacity:0})
gsap.to({"#title"}, {opacity:1, duration:1, ease: "sine.inOut", delay:0})
});

</script>
Expand Down

0 comments on commit 4665547

Please sign in to comment.