This is very annoying. After you flipped the image, if you expand the left, top or right red field disappears. But if you push out from the bottom, the red box sometimes sometimes disappears. Why is this?
http://jsfiddle.net/f98r3/2/
Edit: Another weird thing: when you check the console log, mouseleave fires, but does not delete the div !!!.
Edit 2: Itβs good that both answers solved the problem, but still I wonder how on the ground console.log registers the mouse in the source code, but does not call remove ()?
source share