CSS button bounce on hover, focus and tap
CSS button bounce playground
Hover with a mouse, Tab to a button, or tap/click to replay. Each interaction plays a short bounce; it does not loop continuously.
Classic bounce
14px lift · two small hops
Gentle bounce
6px lift · subtle feedback
Ready. Try either practice button.
These are practice buttons with no purchase, navigation or submission. Your device’s reduced-motion preference also disables the bounce. Keyboard focus remains visible.CSS controls the bounce. Optional JavaScript replays it on activation and reports practice clicks. Remove script.js to retain CSS hover and keyboard-focus animation; the motion checkbox still works in browsers supporting :has().