Background Sweep
Also called Background Fill, Slide Fill
A colored background wipes across the element from one edge on hover.
Use for
Buttons, menu links
Variants
- Sweep To Right
- Sweep To Left
- Sweep To Bottom
- Sweep To Top
Also called Background Fill, Slide Fill
A colored background wipes across the element from one edge on hover.
Buttons, menu links
Replace [where] with the part of your page and paste the prompt into your AI agent. Each prompt includes the name of the motion, so next time you can simply ask for it by name.
Add a "Background Sweep" hover effect (also called background fill or slide fill) to [where].
A new background color should wipe across from the left edge to the right, smooth and quick with no bounce, and retract the same way when the pointer leaves, while the label color switches to stay readable.
Keep the fill clipped inside the element's shape, and show the same effect on keyboard focus.