Jump to content
Search Community

ScrollTrigger

Alexygen test
Moderator Tag

Recommended Posts

6 minutes ago, ZachSaucier said:

Hey Alexygen. You just have to make sure that the horizontal panels don't wrap. One way to do it:


#container {
  white-space: nowrap;
  font-size: 0;
}
.panel {
  font-size: 1rem;
}

 

 

don't work (( elements red, orange, purple and gray scrolling at the same time

Link to comment
Share on other sites

41 minutes ago, ZachSaucier said:

That approach won't work with your setup because it actually resets the scroll position. Are you just trying to wrap the horizontal sections? How would that work with scrolling to other areas? 

 

Perhaps this thread is helpful:

 

 

this my test

See the Pen dyGZOOQ by Alexygen (@Alexygen) on CodePen

 

I'm trying to make the horizontal scroll endless

 

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...