Hi mvaneijgen,
I tried to add opacity. First, I set the opacity of aboutBody to 0, then added opacity 1 in ScrollTrigger. But it doesn't work as usual.
Ok, I am gonna read the article about `.from()` first. Thanks.
.aboutBody {
padding-top: 100px;
opacity: 0;
}
const aboutBodyTimeline = gsap.timeline({
scrollTrigger: {
trigger: ".aboutBody", // Start of the
start: "top center", // Start animation when the top of .aboutBody hits top of viewport
// scrub: 1, // 1 second delay between scroll and animation
markers: true, // show markes, easier for debugging
}, opacity: 1
});