Jump to content
Search Community

aLinarte1920

Members
  • Posts

    2
  • Joined

  • Last visited

aLinarte1920's Achievements

  1. Thanks it was that, although I had to add the absolute path of my image. Cheers!
  2. Hi everybody! I have an animation defined to the following element, parentContainer: gsap.to(parentContainer.current, { backgroundImage: url(); duration: 3, scrollTrigger: { trigger: parentContainer.current, start: "center top", markers: true, scrub: true, }, }); it doesn"t work if i do the following: backgroundImage: "url("./assets/background.jpg")" but it works if i do this backgroundColor: "red", backgroundImage expects a value from gsap.TweenValue, but I don't know how to pass it to it. thank you very much in advance, greetings from nicaragua
×
×
  • Create New...