Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Webflow by Example

You're reading from   Webflow by Example Design, build, and publish modern websites without writing code

Arrow left icon
Product type Paperback
Published in Dec 2021
Publisher Packt
ISBN-13 9781801075398
Length 356 pages
Edition 1st Edition
Tools
Concepts
Arrow right icon
Author (1):
Arrow left icon
Ali Rushdan Tariq Ali Rushdan Tariq
Author Profile Icon Ali Rushdan Tariq
Ali Rushdan Tariq
Arrow right icon
View More author details
Toc

Table of Contents (20) Chapters Close

Preface 1. Section 1: Getting Started with Webflow
2. Chapter 1: Why Webflow FREE CHAPTER 3. Chapter 2: The Web in a Nutshell 4. Chapter 3: Setting Up Your First Project 5. Section 2: Building a Mobile Responsive Landing Page with Webflow
6. Chapter 4: Building Above the Fold 7. Chapter 5: Building the Rest of the Body 8. Chapter 6: Making It Responsive 9. Chapter 7: Introduction to Interactions and Animations 10. Chapter 8: Advanced Interactions 11. Section 3: Building a Dynamic Website with Webflow CMS
12. Chapter 9: Getting Started with Webflow CMS 13. Chapter 10: Creating Your First CMS Project 14. Chapter 11: Creating Collection Pages 15. Chapter 12: Managing CMS Projects 16. Section 4: Additional Topics
17. Chapter 13: Publishing Projects on the Web 18. Chapter 14: Using Webflow Editor to Update Websites 19. Other Books You May Enjoy

Creating custom page scroll interactions

Sometimes, we may want to animate objects on the page as the page is being scrolled through. This effect can lend some fun depth to the page and guide the user's eye in interesting ways.

Let's build upon what we've already learned and create a custom interaction that moves images around as we're scrolling through the page. Specifically, we'll be animating the app screen images in the How it Works section.

Let's start:

  1. Scroll down to the How it Works section and select the Step Image 1 element.
  2. Select the Interactions tab.
  3. Create a new Element trigger.
  4. Select the While page is scrolling option, then add a Play scroll animation action, and then add a new scroll animation, as in Figure 7.13:

    Figure 7.13 – Adding a page-level scroll animation

    Important

    In this exercise, you may have noticed that we're using an Element trigger again and not a Page trigger. While we could have used a...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime