Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...
ladybytez

Layered pinning is causing overlap of text. How to solve this?

Recommended Posts

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

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

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