ladybytez Posted August 11, 2021 Share Posted August 11, 2021 Hi there, I am stuck with this supposedly mediocre issue I have a square on a fixed position wrapped within a container wrapper. Inside this wrapper, there is also text. The square rotates as per this but the text is now being cut off. Can anyone help me? Also is it possible to have the square starts rolling immediately the moment user scrolls? See the Pen jOmdPze by ladybytez (@ladybytez) on CodePen Link to comment Share on other sites More sharing options...
GreenSock Posted August 11, 2021 Share Posted August 11, 2021 I may be misunderstanding your goal, but you had your CSS setup incorrectly - the text was in an entirely different scroller (which would obviously scroll independently). You can set the start of the scrollTrigger to 0 if you want it to start immediately. See the Pen KKmJVGX?editors=0010 by GreenSock (@GreenSock) on CodePen Happy tweening! 1 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now