Jump to content
Search Community

scottnj

Members
  • Posts

    4
  • Joined

  • Last visited

Posts posted by scottnj

  1. I am trying to use the layered pinning example where some panels will have content greater than the viewport height. See the orange panel in the example.

     

    I want the panel height to be 100vh, and the content inside it to scroll while the panel is pinned.

     

    Are there any examples that cover this use case?

    See the Pen ZEvoVJE by scottnj (@scottnj) on CodePen

    • Like 1
  2. I have an intro animation timeline that works great.  The onComplete of this timeline then calls a function that uses Flip.from() to animate my header and brand from fullscreen to a normal top nav bar.

     

    After I use Flip.getState() I remove my ".big" class from my header, then use Flip.from(). 

     

    When I remove the ".big" class from my header, it causes a jump in the animation.

    Is there a better way for me to accomplish this? I can't figure out how to get rid of the jump.

    See the Pen GRyObez by scottnj (@scottnj) on CodePen

×
×
  • Create New...