ladybytez Posted July 26, 2021 Share Posted July 26, 2021 I forked the previous code done for layered pinning to play around with the code... How do I ensure the text does not overflow see purple panel code and scrolling only happens again when the text is over? See the Pen oNWpwOa by ladybytez (@ladybytez) on CodePen Link to comment Share on other sites More sharing options...
GreenSock Posted July 26, 2021 Share Posted July 26, 2021 2 hours ago, ladybytez said: How do I ensure the text does not overflow see purple panel code and scrolling only happens again when the text is over? I don't understand your question - are you saying you want the purple container to grow taller to accommodate the text? Here's what I assume you're looking for: See the Pen RwVxLYL?editors=0010 by GreenSock (@GreenSock) on CodePen Does that help? 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