Jump to content
Search Community

how to add a parallax effect background while scrolling sections

Sortium test
Moderator Tag

Recommended Posts

@Sortium but your example has no images, so we can't really see what is not working for you. Could you maybe try your hand at adding the images you want and sharing that demo. Even if your demo doesn't work we can better understand what your question is. 

 

Just try adding the animations how you think they should work, this way we can better understand your thought process and it will be easier for us to help you. If you could then explain your issue like so, this will help us give you a solid answer:

  • A clear description of the expected result - "I am expecting the purple div to spin 360degrees"
  • A clear description of the issue -  "the purple div only spins 90deg"
  • A list of steps for someone else to recreate the issue - "Open the demo on mobile in IOS safari and scroll down to the grey container" 

 

Personally I the find best thing to do with ScrollTrigger is to remove it! This seems counter intuitive, but ScrollTrigger is just animating something on scroll, so just focus on the animation at first and only when you're happy with the animation add ScrollTrigger back in.

  • Like 2
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...