Yes, Webflow's Interactions feature can move a specific element to the top left of a scrollable page and scale it to a specific size when tapped. You can achieve this using a combination of Click (Tap) Trigger and Move and Scale transforms.
1. Set a Unique Element for Interaction
- Select the element you want to animate (e.g., an image or div block).
- Assign it a unique class or ID to ensure you can specifically target it.
- Make sure the element is positioned relative to a consistent parent element (e.g., relative to the body or a wrapper with relative/absolute positioning).
2. Add a Click (Tap) Trigger
- With the element selected, go to the Interactions panel (lightning icon).
- Click + next to Element Trigger, then choose Mouse Click (Tap).
- Under On 1st Click, select Start an Animation and create a new timed animation.
3. Create the Animation
- In your new animation:
- Add a Move action. Set the X and Y values to position the element in the top left corner:
- If you’re using absolute positioning, you might move it to
X: 0px, Y: 0px
. - If it's inside a scrollable area, you may also need to scroll the page using the Scroll action to bring the element into view.
- Add a Scale action. Set the scale to a specific size, such as 0.5 for 50% size or any other desired value.
- Adjust the easing and duration to control animation speed and smoothness.
4. Optional: Change Positioning Dynamically
- If your element is static or relative by default, and you want it to move freely to the top-left corner, you may need to:
- Add a Set Style action at the start of the animation to change its position to fixed or absolute.
- Or manually set its default position to absolute/fixed in the Style panel before triggering the interaction.
5. Additional Considerations
- Make sure the element's z-index is high enough to remain visible after moving.
- For smooth user experience on mobile, test the tap area and responsiveness post-animation.
Summary
You can use Webflow Interactions to move and scale a specific element to the top left of the screen when tapped by combining click triggers, move and scale actions, and potentially changing position styles. Proper styling and animation sequencing ensure the effect works across scrollable layouts.