CSS hover effects and click animations with prompts

CSS hover effects and click animations are the small rewards that make an interface feel alive. Each one here runs live: hover it, click it, then switch to phone width to see what it does when there is no cursor at all.

Prompts

Live
Component · Hover and click effects

CSS 3D cube box of bonbons

Live
Component · Hover and click effects

Liquid steel metallic logo

Live
Component · Hover and click effects

Lightning animation logo mark

Live
Component · Hover and click effects

Day to night pixel transition postcards

Live
Component · Hover and click effects

Pixelate effect colourway picker

Live
Component · Hover and click effects

Halftone print with a colour reveal lens

Live
Component · Hover and click effects

Enamel pin cards with a shine sweep

Live
Component · Hover and click effects

Electric border on an EV charger card

Live
Component · Hover and click effects

Sticker peel effect with a hidden code

Live
Component · Hover and click effects

Breathing shapes that sharpen near your finger

Live
Component · Hover and click effects

Koi pond with a water ripple effect

Live
Component · Hover and click effects

Confetti click animation

Live
Component · Hover and click effects

Glowing border cards that follow the cursor

Guide

How to prompt a hover effect that works everywhere

  • Plan for touch. Phones have no hover, so say what happens instead.
  • Keep it fast. Effects should follow the pointer within a frame.
  • Respect reduced motion. Ask for a still version when the system requests it.