A lot of the animation examples are actually quite different in subtle ways.. Eg. the fade out example using opacity with CSS animations - the element still remains in the DOM.
https://jsfiddle.net/hbLebx2d/1/
Try quickly clicking the "Toggle" button too.