How can you make an element in Webflow look different when hovered over and add a smooth transition effect?

TL;DR
  • Select an element with a class, set style changes in its Hover state (e.g., color, transform), then return to the None state to add a transition for the changed property.  
  • Adjust transition duration and easing, and preview to see the smooth hover effect.

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.

Rate this answer

Other Webflow Questions