ADVERT
🖱️ Button Hover Effects
Design interactive button hover states with border wipe, glow trail, and micro-motion presets. Adjust colors, radius, timing, and copy production-ready CSS.
Button Hover Effect Generator
Design animated hover states with border wipes, glow trails, and micro-interactions. Tweak colors, timing, and typography, then copy the ready-to-use CSS snippet.
Animated border sweep that traces the outline of the button.
16px
14px
320ms
#111827
#F9FAFB
#3B82F6
CSS
.button-hover {
position: relative;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
padding: 0.85rem 1.9rem;
border-radius: 14px;
border: 2px solid transparent;
background: #111827;
color: #f9fafb;
font-size: 16px;
font-weight: 600;
letter-spacing: 0.02em;
cursor: pointer;
overflow: hidden;
transition: transform 320ms ease, box-shadow 320ms ease, background 320ms ease, color 320ms ease;
}
.button-hover:focus-visible {
outline: 3px solid #3b82f633;
outline-offset: 3px;
}
.button-hover::before,
.button-hover::after {
content: "";
position: absolute;
inset: 0;
pointer-events: none;
}
.button-hover .arrow {
display: inline-flex;
transition: transform 320ms ease;
}
.button-hover.border-wipe {
border-color: #3b82f655;
}
.button-hover.border-wipe::after {
border: 2px solid #3b82f6;
transform: scaleX(0);
transform-origin: left center;
transition: transform 320ms ease;
}
.button-hover.border-wipe:hover::after,
.button-hover.border-wipe:focus-visible::after {
transform: scaleX(1);
}
.button-hover.border-wipe:hover .arrow,
.button-hover.border-wipe:focus-visible .arrow {
transform: translateX(6px);
}
ADVERT
ADVERT