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