Hover effect

Also called hover state or hover animation

A visual change, such as a lift, glow, or zoom, that happens when the mouse pointer moves over an element to show it can be clicked.

What is Hover effect?

A hover effect changes how an element looks while the mouse pointer rests on it. Common versions lift a card a few pixels with a deeper shadow, highlight its border, zoom the image inside it, or shift a button's color. The change tells people "this is clickable" before they commit.

Keep hover effects quick, around 150 to 250ms with an ease-out curve, and small enough that moving the mouse across a page does not set off a light show. Animate transform and opacity where you can: fading in a second shadow layer is smoother than animating box-shadow itself.

Touch screens have no hover, so never hide essential information or actions behind it. Wrap hover styles in @media (hover: hover) so a tap on a phone does not leave a card stuck in its hover state, and give keyboard users the same cue with :focus-visible.

All terms

Interaction states

The set of looks a control takes as people use it, such as default, hover, pressed, focused, and disabled, each showing what will happen.

Press feedback

A quick visual response, usually a slight shrink, that shows a button registered the press the moment a finger or mouse button goes down.

3D tilt card

A card that tips in 3D as the mouse moves over it, often with a moving glare, so it feels like a physical object in your hand.

Spotlight card

A card whose border and background light up with a soft radial glow that follows the mouse pointer, often across a whole grid of cards.