A step-by-step HTML and CSS tutorial that builds a button which transforms into a check icon when clicked, using CSS keyframe animations. It walks through the file structure, markup, keyframes and applying them to the button.
What you’ll learn
✓Structure an HTML button and link a check icon image
✓Write CSS keyframes that extend, fade and reveal a check icon
✓Apply keyframe animations to a button so it transforms on click