Be aware, you could use pseudo event hover
in/out handler like this:
DEMO
$('.js_boxFeature').hover(function (e) {
$(this).stop().animate({
top: e.type === "mouseenter" ? "-20px" : 0
}, "fast");
});
Or using only CSS pseudo class :hover
:
.js_boxFeature {
position:absolute;
width:200px;
height:200px;
background:green;
top:0;
-webkit-transition: top 200ms linear;
transition: top 200ms linear;
}
.js_boxFeature:hover {
top:-20px;
}