Pure CSS Hover Effects

CSS hover effects react when a pointer moves over an element: image zooms, underline reveals, color shifts, lifted cards and animated links, all done in CSS.

23 free examples, most liked first. Click one to preview it and copy the code.

Hover Effects FAQ

How do I add a hover effect with CSS?

Write the normal style, then a :hover version of the same selector with the changes, and add a transition so the change animates. Copy any example here to start.

How do I use these pure CSS hover effects?

Open an example, copy the HTML and the CSS, and paste them into your page. There is nothing to install and no JavaScript to load.

More pure CSS examples