Hi everyone,
I really love what this designer has done with his project cards (sorry, I can’t share the link yet) : when hovering, the frame height shrinks, and the embedded image zooms out.
I’ve been trying to reproduce this, but I can’t find a way to get the same result. Unfortunately, my image (even though it is wider than the frame) leaves two empty margins on each side.
For smooth rounded corner transitions on your card element, you’ll need to ensure the transition property is properly set. Here’s how to set it up:
Select your card element
In Style panel > Selector choose None
Add a transition for Border radius under Effects > Transitions
Regarding the image margins, to ensure your images fill their container properly, set the image’s width to 100%. This will maintain proper scaling and prevent unwanted margins. Keep in mind that Webflow automatically creates responsive images based on their normal states, so it’s important to preview your hover interactions across different breakpoints to ensure everything displays correctly.
Hopefully this helps! If you still need assistance, please reply here so somebody from the community can help.