Installation
Add ChangeHover to your project with these simple methods:
CDN Links
Full Library: All animations in one file (core + border + text)
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/rajkumarnimod/changehover/dist/changehover.min.css">
Core Only: Include fade, grow, pulse, bounce, etc. (94 + Animations)
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/rajkumarnimod/changehover/dist/core.min.css">
Border Effects: Animated borders like full, gradient, dashed, etc.(9+ Animations)
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/rajkumarnimod/changehover/dist/borders.min.css">
Text Effects: Animate text with wave, glitch, neon, reveal, etc.(19+ Animations)
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/rajkumarnimod/changehover/dist/text.min.css">
Download Manually
Download the CSS file and include it in your project:
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/rajkumarnimod/changehover/dist/changehover.min.css">
Basic Usage
Available Animation Classes
ChangeHover provides 150+ animation classes across several categories:
- Core: ch-fade, ch-grow, ch-shrink, ch-pulse, etc.
- Text: ch-text-gradient, ch-text-wave, ch-text-glitch, etc.
- Background: ch-bg-ltr, ch-bg-radial, ch-bg-gradient, etc.
- Border: ch-border-ltr, ch-border-wave, ch-border-dashed, etc.
How to Apply Animations
Apply animations by adding hover: attributes to your HTML elements:
Core Animations
<div hover:ch-bounce> Hover Me </div>
All Core Animations : -
hover:ch-fadehover:ch-growhover:ch-shrinkhover:ch-pulsehover:ch-pulse-growhover:ch-pulse-shrinkhover:ch-pushhover:ch-pophover:ch-bounce-inhover:ch-bounce-outhover:ch-rotatehover:ch-rotate-growhover:ch-floathover:ch-sinkhover:ch-bobhover:ch-hanghover:ch-skewhover:ch-skew-forwardhover:ch-skew-backwardhover:ch-wobble-horizontalhover:ch-wobble-verticalhover:ch-buzzhover:ch-buzz-outhover:ch-forwardhover:ch-backwardhover:ch-fade-backhover:ch-back-pulsehover:ch-bouncehover:ch-flashhover:ch-rubberBandhover:ch-shakeXhover:ch-shakeYhover:ch-headShakehover:ch-swinghover:ch-tadahover:ch-jellohover:ch-heartBeathover:ch-backInDownhover:ch-backInLefthover:ch-backInRighthover:ch-backInUphover:ch-backOutDownhover:ch-backOutLefthover:ch-backOutRighthover:ch-backOutUphover:ch-bounceInhover:ch-bounceInDownhover:ch-bounceInLefthover:ch-bounceInRighthover:ch-bounceInUphover:ch-bounceOuthover:ch-bounceOutDownhover:ch-bounceOutLefthover:ch-bounceOutRighthover:ch-bounceOutUphover:ch-fadeInhover:ch-fadeInDownhover:ch-fadeInLefthover:ch-fadeInRighthover:ch-fadeInUphover:ch-fadeOuthover:ch-fadeOutDownhover:ch-fadeOutLefthover:ch-fadeOutRighthover:ch-fadeOutUphover:ch-fliphover:ch-flipInXhover:ch-flipInYhover:ch-flipOutXhover:ch-flipOutYhover:ch-lightSpeedInRighthover:ch-lightSpeedInLefthover:ch-lightSpeedOutRighthover:ch-lightSpeedOutLefthover:ch-rotateInhover:ch-rotateInDownLefthover:ch-rotateInDownRighthover:ch-rotateInUpLefthover:ch-rotateInUpRighthover:ch-rotateOuthover:ch-rotateOutDownLefthover:ch-rotateOutDownRighthover:ch-rotateOutUpLefthover:ch-rotateOutUpRighthover:ch-hingehover:ch-jackInTheBoxhover:ch-rollInhover:ch-rollOuthover:ch-zoomInhover:ch-zoomInDownhover:ch-zoomInLefthover:ch-zoomInRighthover:ch-zoomInUphover:ch-zoomOuthover:ch-zoomOutDownhover:ch-zoomOutLefthover:ch-zoomOutRighthover:ch-zoomOutUphover:ch-slideInDownhover:ch-slideInLefthover:ch-slideInRighthover:ch-slideInUphover:ch-slideOutDownhover:ch-slideOutLefthover:ch-slideOutRighthover:ch-slideOutUp
Text Animations
<div hover:ch-text-gradient-flow hover:ch-text-bounce> Hover Me </div>
All Text Animations : -
hover:ch-text-gradient-flowhover:ch-text-glitchhover:ch-text-neonhover:ch-text-bouncehover:ch-text-wavehover:ch-text-rotate3dhover:ch-text-fade-inhover:ch-text-slide-inhover:ch-text-zoom-inhover:ch-text-shakehover:ch-text-pulsehover:ch-text-wobblehover:ch-text-blinkhover:ch-text-swinghover:ch-text-jellyhover:ch-text-skewhover:ch-text-fly-inhover:ch-text-reveal
Border Animations
<div hover:ch-border-ltr>
<span class="ch-animation-helper"> </span>
Hover Me
</div>
All Border Animations : -
hover:ch-border-ltr-
hover:ch-border-rtl -
hover:ch-border-ttb hover:ch-border-btt-
hover:ch-border-dashed -
hover:ch-border-radius -
hover:ch-border-wave hover:ch-border-shimmerhover:ch-border-flow
Note: For border animations to work correctly, include an empty <span class="ch-animation-helper"></span> inside the animated element.
Text Effects
Special animations designed specifically for text elements:
Gradient Flow
text-bounce Effect
<h4 hover:ch-text-gradient-flow>Gradient Flow</h4> <h4 hover:ch-text-bounce>text-bounce Effect</h4>