i mede this ridiculous exp.
why when the mouseover/out event happens, the element go to a diferent place ?
in my case, i have a position: absolute; and other css attr set in the span, so, when the mouseover happens, the span have a normal fadeIn() , but, the mouseout , with fadeOut() event, made the element back to other position, like position 0 of absolute
why this happen ?
That happens because,
fadeInset the display property ofspanelement toblockwhen it starts animation and span is aninlineelement so it should actually set it to ‘inline’ to appear at the right location.