Bootstrap's carousel with scroll magic and TimelineMax in GSAP Posted December 6, 2017 $('#carousel').on('slide.bs.carousel', function (event) { target = $(event.relatedTarget); var tlSlider = new TimelineMax() .from( target.find('h1'), 0.5, { scale: 600, autoAlpha: 0,}) .from( target.find('h2'), 0.5, { y: 150, autoAlpha: 0,}); }); https://getbootstrap.com/docs/4.0/components/carousel/#events
Bootstrap's carousel with scroll magic and TimelineMax
in GSAP
Posted
https://getbootstrap.com/docs/4.0/components/carousel/#events