It would help to see your read-only link, but my guess is setting your transform origin would fix the issue, you can read more here: Transforms | Webflow University
Sizing works the same as the direction of the layout itself does. For example if you put your object that you want to change the size of inside of a flex div that will be set up to justify-end its children, the direction will be from right to left, hence the size will animate from right to left as well.
I’m facing a similar blocker with my build. If you see the section titled “Holistic wellness programs for your employees”, on hover the cards expand. I’d like the last two to grow from the right to the left. I tried several options but nothing worked, I’ve settled upon what I have now, but if you see, the card grows from the center out, instead of from right to left.
I am afraid I do not understand your request. The elements you mention do not grow, they move on hover exactly how you set them to with the transform properties.
Hey Alex, thanks for replying. What I’m trying to achieve is to make the fourth card move like the first three, but from right to left. If you hover over the fourth card now, you’ll see that it doesn’t exactly move from right to left, it increases its size from the center.
This is the interaction sequence I have on the first three cards. I was wondering how to do the same, for the fourth card but just make it move it right to left instead of left to right.