Shows how to build a button hover effect in HTML and CSS by animating a sprite PNG with CSS keyframes. It walks through the file structure, index.html, style.css and the animation keyframes in separate segments.
What you’ll learn
✓Set up index.html and style.css for a styled button
✓Animate a sprite PNG on hover with CSS keyframes
✓Preview the finished button hover effect in the browser