Jump to content
Search Community

Mariano1ero

Members
  • Posts

    5
  • Joined

  • Last visited

Mariano1ero's Achievements

  1. Hello OSUblake I use the intersection watcher because I need the animations to start once the sections are inside the viewport. as in this demo that they have on their page https://codepen.io/GreenSock/pen/pojzxwZ I mean fade and fade, I can't get it to work. I don't want to load the page and have all the elements ready there. I want them to have an animation and for each element to fade in or out whenever a section enters the viewport and not just be there and just scroll. like this https://gcm.ionstudiosoft.com/ when it loads for the first time it has an animation a fadein
  2. I got it, although I still can't make a good transition. but I'm getting closer. The question now is. If I have each section in a separate component, how can I activate the animations within each component? Currently, I am using the intersection observer to detect the element within the viewport and thus communicate that data to the components through context and trigger the animation. The situation is that it takes a long time. in making the animation or directly does not recognize it I can share with you guys my gitHub repository so you can see more in detail what I'm trying to do (browser tools) but if it's a lot these days I'll create an example in codepen this is my github https://github.com/HeepNite/Caroline Thansk so much
  3. Thanks so much I will check this and take your recommendations. by the way the example what I want to replay is this ( https://gcm.ionstudiosoft.com/ ) I want to do exactly that animations if you see, the animations start with the scroll, and disappear when the section left the viewport it takes a few seconds after the section be active in the viewport to start the animations I think y can play with the method like gsap.fromTo.... to do this action so I think I have this solved but if not i going to ask again lol ?
  4. hello, So sorry, I will try to express it better. I want animate the texts, images, etc., within each section using scrollTrigger. I want to combine the animations of this example (https://codesandbox.io/s/sweet-snow-9uvfs?file=/src/styles.css) with the scroll snap of this other example (https://codesandbox.io/s/agitated-stonebraker-ovhuj?file=/src/App.js) and I'm following this example (https://codepen.io/GreenSock/pen/YzyaKrq)
  5. Good morning greenSock. I'm having trouble applying ScrollTrigger on a landing page where I need to recreate the codepen example (https://codepen.io/GreenSock/pen/YzyaKrq) And incorporate animations of the elements, when scrolling through the web with the scrub attribute so that the animation is performed for both directions of the scroll From already thank you very much
×
×
  • Create New...