When I started out as a front-end dev, I always had a hard time understanding how CSS3 hover effects worked, so I created this website that will hopefully make them easier to understand.
The source code for this website is available for download, and I highly recommend doing it so you can read it alongside this website.
This is not a CSS library
If you want a CSS3 hover library, check out Ian Lunn's amazing
hover.css library. This website is merely an attempt to explain and make CSS3 hover libraries much easier to understand, and possibly implement. However, if you require a quick fix, you can copy and paste my code into your document.
This website is also not a tutorial - I am assuming that you already know the basics of CSS3, or at the very least, have foundation level knowledge of the various CSS properties.
This website will be split into two sections: the first will show effects that can be applied when hovering over text, and the second will show effects that can be applied when hovering over images. Once you've gotten the hang of the various effects, you can mix and match certain effects together to create your very own custom effect!
Part one - hovering over text
In the markup below, the tags and their respective classes are just guidelines for you to follow, you are free to change them to anything you wish to use.
<div class="hover">
<span class="hover-color">
// put your content here
</span>
</div>
Some of these effects can be applied to images as well, but it is up to you to figure out how! Hover over the titles of the examples below to see the effects in action: