Hover.css
by Ian Lunn Design Limited
Collection of CSS hover effects for links, buttons and icons (2D transitions, borders, shadows, icon motion) in CSS, Sass and Less.
Web animation examples and effects Code libraryminimalflat
1. Price: ianlunn.co.uk/store/hover-css
Free for personal/open-source use (MIT); commercial use needs a paid license.
ianlunn.co.uk/store/hover-cssNo quote yet: price is read from the official pages.
2. Commercial use: raw.githubusercontent.com
“For commercial use, Hover.css is made available under Commercial, Extended Commercial, and OEM Commercial licenses.”
Commercial use needs a paid Commercial, Extended Commercial or OEM license.
raw.githubusercontent.com3. Credit the author: raw.githubusercontent.com
“For personal/open source use, Hover.css is made available under a [MIT license]”
No credit on screen. Keep the license notice inside the code you ship.
raw.githubusercontent.com4. Agent access: github.com/IanLunn/Hover
An agent can install it by itself with npm install hover.css. No key or account is needed.
github.com/IanLunn/HoverLicense checked Nov 5, 2026 against 1 official page. Tap a verdict to see its source. How we checked Report an error
Hover.css: ready hover effects for buttons and links
Hover.css is a set of ready effects that play when the mouse moves over a button, link or picture, such as growing, wobbling or a sliding underline. You add one class name to an element and the effect works, with no scripts. It is free for personal and open-source projects; a paid license is needed for commercial sites and client work.
Where you can use it
A button that grows on hover
Make a "Add to basket" button grow a little when the mouse is over it, by pasting one small effect into your styles. Only that effect loads, not the whole set.
Many effects across a site
Link the whole stylesheet once, then give buttons, menu links and cards their own effect by class name, such as a sweep, a pulse or an underline.
Icons that move on hover
Put an arrow in a "Next" link and make the arrow slide forward, or a gear spin, when the mouse is over the link. Any icon set or image works.
Effects on a WordPress site
When you cannot edit the page code, add the effects from your theme's style file and then use the class names in posts and menus.
Ideas for your own effects
Browse the demo page for a style you like, then change its timing or colors in your own styles instead of starting from zero.
Menu links on a personal blog Idea
Give the links in a personal blog's menu a sliding underline, so readers see where the mouse is.
Hover.css popularity
Downloads from api.npmjs.org, stars from GitHub, checked Nov 17, 2026. How the Gid Score is calculated
How to start
Tell your AI assistant
“This is a personal, non-commercial site, so copy only the hvr-grow and hvr-underline-from-left effects from Hover.css 2.3.2 into my stylesheet and add the classes to the main button and the menu links.”
Or install it yourself. Get the files from the package or download them from the project page.
npm install hover.css --save
Show codeStep 1 or Step 2
Copy the one effect you need into your styles, or link the whole minified file.
<link href="css/hover-min.css" rel="stylesheet">
Add the effect's class, which starts with hvr-, to the element.
<a href="#" class="hvr-grow">Add to Basket</a>
Mistakes to avoid
The free license covers only personal and open-source projects that are not sold.
Since version 2.0.0 every class name starts with hvr-.
Hover.css moves only the element marked as the icon.
Visitors would download every effect.
License
MIT for personal/open source; paid Commercial licenses. Free under an MIT license for personal and open-source projects that are not sold. A website sold to a client, a theme for sale or other commercial work needs a paid license.
“For commercial use, Hover.css is made available under Commercial, Extended Commercial, and OEM Commercial licenses.” raw.githubusercontent.com
“For personal/open source use, Hover.css is made available under a [MIT license]” raw.githubusercontent.com
“Your application can't be sold” raw.githubusercontent.com
“Your modifications remain open-source” raw.githubusercontent.com
AllowedWith conditionsNot allowedNot stated or not checked yet
Is Hover.css free for commercial use? The full answer Not legal advice. Check the license page before you ship.
For your agent
License rules tell your agent what it may do with Hover.css. Paste them into your prompt or AGENTS.md.
- Hover.css (Web animation examples and effects, UI animation (Lottie, Rive)). Collection of CSS hover effects for links, buttons and icons (2D transitions, borders, shadows, icon motion) in CSS, Sass and Less. Price: free tier; commercial use with conditions; no credit needed; ship inside your app with conditions; pass the files on to your users only with conditions. Style: minimal, flat.
Connect: npm hover.css.
Get files: npm install hover.css or copy the single effect's CSS from the GitHub repo; for commercial projects the user buys a license first (css, scss, less).
Not allowed: Paid license for commercial use
Rule: Commercial or client sites need a paid Hover.css license.
Rule: Free use only for personal/open-source projects.
License: https://raw.githubusercontent.com/IanLunn/Hover/master/license.txt (checked 2026-11-05; details: https://agentgid.com/assets/hover-css/)
Agent installs a package or loads it from a CDN.
npm install hover.cssFormats: css, scss, less
Alternatives
Hover.css This page
Pick Animate.css for ready entrance and attention animations added with one class, under a license that allows paid products.
Pick Uiverse for community-made buttons and other elements with hover states, all under MIT.
Pick GSAP when hover effects should be part of bigger scripted animations, with all its plugins free.
Animation library with a visual timeline editor for motion graphics on the web: animate DOM, three.js/R3F scenes and any JS values.
Step-by-step online guide to fragment shaders (noise, patterns, shaping functions) with live editable examples; for learning, not reuse.
Questions
Can I use Hover.css on a site I build for a client?
Yes, with a paid Commercial license, which allows selling the site once; free use is only for personal and open-source projects.
Can I sell a website template that uses it?
Yes, with the Extended Commercial license, which allows selling your applications an unlimited number of times.
Do I need JavaScript?
No. Each effect is self-contained styling on a single element, so you can copy and paste it.
Do the effects work with keyboard users?
The Grow example also runs on focus and active, not only on mouse hover.