Xenex122 Posted May 23, 2022 Share Posted May 23, 2022 So my problem here is that why my section is included in the ScrollSmoother. What I mean about this is that. I don't know how I can include the height:400vh on that scrollSmoother..it doesn't animated the and I can't scroll down. I was imagining that the text will put only on the top:50vh and since it is absolute that means it has no height unless I put the height of section with 200vh or so. How I can fix this? I'm just beginner at ScrollSmoother... that code was recently come up with here https://greensock.com/3-10/.. so that's why I want to try it and just do the banner text cause it looks amazing. big help thanks.. See the Pen KKQvQGq by myth-vince (@myth-vince) on CodePen Link to comment Share on other sites More sharing options...
GreenSock Posted May 23, 2022 Share Posted May 23, 2022 It's because you set content: "#content" but there is no such element. I think you meant "#container". And you didn't define a wrapper either. See the Pen poaraMp?editors=0010 by GreenSock (@GreenSock) on CodePen 2 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