Yes, Webflow’s Interactions feature can be used to both move a specific element to the top-left of a scrollable page and scale it to a specific size when tapped, using a combination of element triggers, transforms, and positioning styles.
1. Set Up the Target Element
- Ensure the element you want to animate has a unique class or ID.
- The element should have a defined positioning context, ideally set to absolute or fixed, so it can be animated without affecting other elements on the page.
2. Create an Interaction Trigger
- Select the element, then open the Interactions panel (lightning icon).
- Choose "Element trigger > Mouse click (tap)".
- Click "Start an Animation" and create a new timed animation.
3. Add Move and Scale Actions
- In your new interaction timeline, click “+” to add an action, then choose Transform > Move.
- Set the X to 0px and Y to 0px to move it to the top-left corner relative to its containing element.
- Add another action: Transform > Scale.
- Set the desired scale values (e.g., Scale X = 0.5, Scale Y = 0.5 to make it smaller).
4. Use Relative or Viewport Positioning if Needed
- If your layout uses containers or sections, you may need to first change the position of the element to fixed in the interaction using Style > Set Styles.
- Set Position: Fixed, Top: 0, Left: 0, and desired z-index.
- This ensures the object will move to the top-left of the viewport, rather than inside a parent container.
5. Adjust Easing and Duration
- For smooth animation, set easing like “Ease Out” and use a duration in the 0.3 to 0.6 second range.
6. (Optional) Set a Return Interaction
- Add a second click action to scale and move the element back to its initial state for toggle-like behavior.
Summary
Webflow Interactions can absolutely be used to move an element to the top-left of the page and scale it when tapped. Use a click trigger with actions for Move, Scale, and optionally Style changes (like fixed positioning) to achieve this effect.