Fade and move page elements on scroll.
In this lesson:
Create the trigger
- Select your trigger element (e.g., Project Link) and click into the Interactions panel
- Click the plus sign next to Element Trigger
- Choose Scroll Into View from the dropdown menu
Create the animation
- From the Action menu under When Scrolled Into View, choose Start an Animation
- Click the plus sign next to Timed actions
- Name it (e.g., Move up on scroll)
- Click the plus sign next to Timed Actions and choose Move from the dropdown menu
- Under Move, change the y-axis to 50 pixels
- Next to Timing, toggle on Set as initial state
- Click the plus sign next to Timed Actions and choose Opacity from the dropdown menu
- Change the opacity to 0%
- Next to Timing, toggle on Set as initial state
- Click the plus sign next to Timed Actions and choose Move from the dropdown menu
- Under Move, change the y-axis to 0 pixels
- Adjust Easing and Duration
- Click the plus sign at 0 seconds in the timeline and choose Opacity from the dropdown menu
- Change the opacity to 100%
- Adjust Easing and Duration
- Next to Affect choose Class
- Click All elements with this class and choose Only children with this class
Apply the animation to other elements
- Close out of the animation and click into the Interactions panel
- Under Trigger settings, make sure this animation is applied to all elements with this class (e.g., Class: Project Link)
Check your work in preview mode.