To make an element in Webflow change its appearance on hover and add a smooth transition, use hover states combined with CSS transitions directly within the Webflow Designer.
1. Select the Element You Want to Animate
- Click the element (e.g., a button, div block, or image) on the canvas in Webflow.
- Make sure it has a class name (not just a tag selector).
2. Add a Hover State Style
- With the element selected, go to Selector field at the top of the Style panel.
- Click the dropdown arrow next to the class, then choose Hover from the states menu.
- Now, adjust any styles you want to change on hover, such as:
- Background color
- Text color
- Border
- Box shadow
- Transform (e.g., scale or rotate)
3. Add a Smooth Transition
- Return to the None state by selecting it from the Selector dropdown.
- In the Style panel, scroll to the Transitions section.
- Click + Add Transition and choose the property you want to animate (e.g., Background color, Transform, or All Properties).
- Set the Duration (e.g., 200ms–500ms) and Easing (e.g., Ease, Ease-in-out).
4. Preview the Hover Effect
- Click the Preview (eye icon) in the top-left of the Designer to test your hover effect with the smooth transition.
Summary
To change an element's appearance on hover in Webflow, use the Hover state to style the element differently, then apply a Transition under the None state to make the change smooth. Make sure to specify what property to animate and set an appropriate duration.