Home
Music
Video
About
Contact
Humberger Toggle Menu
Home
Music
Video
About
Contact
00:00
Leave a Reply
Cancel reply
You must be
logged in
to post a comment.
Copyright © 2024
Franko The Ghost
. All rights reserved.
function run_gsap(){ let gsap_loaded = setInterval(function(){ if(window.gsap && window.ScrollTrigger){ gsap.registerPlugin(ScrollTrigger); bg_section(); clearInterval(gsap_loaded); } }, 500); function bg_section(){ gsap.from('.bg-section',{ scrollTrigger:{ trigger:'.bg-section', start:'-350px center', end: '300px center', scrub:true }, width:'80%', duration:1 }); } } run_gsap();