To create a wipe effect for a button color change in Webflow—similar to the "Our Story" button on some modern websites—you’ll need to use a combination of a hover interaction and an extra div as a color overlay inside the button.
div block
(e.g., call it Button Text
).div
(call it Button Wrapper
).Button Wrapper
, add a new div block
(call it Wipe Overlay
) which will serve as the animated color overlay.Button Wrapper
to position: relative and overflow: hidden.Wipe Overlay
:Button Text
to be centered and stack above the overlay if necessary.Button Wrapper
, go to the Interactions panel, and choose Hover.Wipe Overlay
and animate the left
position from -100%
to 0%
over 0.3–0.5 seconds.left
position back from 0%
to -100%
.To achieve a wipe effect on button hover in Webflow, use a div overlay with a hover interaction that animates from left to right, mimicking a color swipe. Carefully layer the text and overlay using z-index and positions, and animate the overlay's position to create the wiping appearance.