AI CSS Animations

CSS Icon Hover Effects

67 CSS icon hover effects: social icon rows, animated icon buttons, bounces, spins, fills and tooltips, all with inline SVG and no icon font.

How to use these icon hover effects

Open any effect, copy the HTML into your markup and the CSS into your stylesheet. Nothing else is required: no JavaScript, no libraries. Classes are prefixed per effect so several can share a page.

To change the color, set --hfx-color on the element or any ancestor. To change the size, set --hfx-size: every dimension inside is in em, so padding, radii and offsets scale together.

Every snippet ships with a prefers-reduced-motion rule that disables the movement for people who asked their OS for less of it. The hover state still applies, only the transition is skipped.