Add

Lorem ipsum

Lorem ipsum

Design

1 views

4 min

Loop an element continuously

Video

ParameterRecommended valueDescription
TriggerScroll into viewThe animation starts when it enters the viewport
Action 1Move 0 PX — 0sStarting position
Action 2Move -2500 PX — 40sScroll to the left
Action 3Move 0 PX — 0sReturn to the starting position to loop
LoopEnabledInfinite repetition

In this episode, Sacha, cofounder of the Gemeos Webflow agency, shows you how to make an element scroll in a loop.

‍

1. Select the element that will trigger the animation

  1. Select the element you want to animate (e.g. link_wrapper_contact)
  2. Click in the Interactions panel and choose the “Scroll into view” trigger

‍

2. Create the animation

1. Select the “Move” animation

‍

2. Set a default position for your element: 0 PX

‍

3. Add a transition to change the element’s position and set the animation duration: -2500 PX in 40 sec (for example)

‍

4. Add a transition so the element returns to its default position once scrolling is complete: 0 PX and 0s Duration

‍

good to know

For more performant infinite horizontal scrolling, a pure CSS animation is often the better choice: @keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }. Smoother, and less demanding on GPU resources.

3. Apply the Loop setting to the animation

Check “Loop” in the trigger settings so the animation repeats continuously

Published on 10.04.2025

Let’s f*****G GO !!

Ready to launch
Your business?

Alexandre

Max

Enora

Bryan

Cannelle

Tiphaine

You'll :heart: our collaboration...