Jump to content
Search Community

andrewchar

Members
  • Posts

    1
  • Joined

  • Last visited

Posts posted by andrewchar

  1. I'll start with what I want to achieve -> https://www.apple.com/iphone-xr/

     

    On this page, in certain sections, you notice that the background will stay in place as you scroll and text will start coming up from the bottom. I am trying to recreate this with scrollmagic and greensock (unsure if these are the best tools for the job either, first time i try something like this)

     

    So What i thought I should be doing and have tried is having my text inside a div positioned at the bottom of the screen with `transform: translateY(100vh) and as i scroll, make greensock go from text being on the bottom to scrolling to the top but have not been successful.

     

    I'm very unsure about the part where I create the scene with greensock using setTween.

    See the Pen PXarPz by andrewchar (@andrewchar) on CodePen

×
×
  • Create New...