Thursday, April 12, 2012

Animating a div with CSS on hover

I'm trying to animate a div on hover using CSS3's @keyframes rule. The code for the animation is at the very bottom of this page (right after the generously marked "HERE BE ANIMATION" comment ASCII art). That includes the @keyframes rule, the div, and the div:hover. The page where I wanted this animation is right here. For some reason, the animation doesn't work; this is the first time I've tried using CSS animation, so there's probably some novice mistake somewhere.





No comments:

Post a Comment