A button feels stiff and needs a smooth color or position change on hover, rather than snapping instantly.
⚡ Quick Fix (TL;DR)
The Culprit: A button with no transition property changes state instantly, which reads as stiff and unpolished rather than intentional.
The Fix: Add a smooth transition on the properties that change, then define what the hover state actually shifts to – here, a slight lift.
.my-button {
transition: background-color 0.2s ease, transform 0.2s ease;
}
.my-button:hover {
transform: translateY(-2px);
} Was this helpful? Thanks for the feedback!
More from the field
Bisect to an Empty Baseline Before Trusting Any Single Theory
.
Multiple plausible-sounding theories for a bug each turned out to be wrong when actually tested – time was spent building fixes…
A Security Dashboard’s Activity Log Can Lag a Full Day Behind Real Time
.
Trying to check a security tool’s activity log for an event that had just happened showed nothing at all.