Jump to content
Search Community

Recommended Posts

Posted

Hi!

I'm trying to pin an element with all content above and under during some animation,  like changing background color, but rather I didn't understand it correctly or something wrong with the behavior.

 

UniConverter_000001.GIF.fbfd49c3259d5822e23009c0a5d9078e.GIF

 

Could you, please, help with the problem :)

See the Pen qBbQgXy by kutalev (@kutalev) on CodePen.

Posted

If I understand your goal correctly, just change pin: true to pin: ".container"

  • Like 1
  • Thanks 1
Posted

Wow, it really did the thing! Thanks a lot! ))

  • Like 1

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