Delete Icon to Button Animation

Image: Delete Icon to Button Animation GIF

A delete trashcan icon that changes to a delete button on hover and it shows an “are you sure” confirmation on click and once more click and you get the deletion successful message. Designed by Danny Iovane.

If you are having trouble with the pen, try the archived copy on GitHub

Delete Icon With Confirmation Snippet

See the Pen Delete Button (Incl. Confirmation) by Danny Iovane (@gingerdude) on CodePen.0

Posted by:Hima Vincent

Hima Vincent is the founder & editor in chief of CodeMyUI. She is a writer by day and a reader by night who helps web designers build awesome projects by sharing amazing code snippets for inspiration. Hobbies include designing, card games, photography and exploring the culinary arts.