JSFiddle - React, Tailwind, and code Playground

HTML

<div class='object'>
    <img src='http://www.alsacreations.com/css/img/logo-alsacreations-com.png'/>
    <div class='overlay'>Ceci est un test</div>
</div>

CSS

.overlay {background-color : red; position:relative; bottom:0px; height:60px;}
img {height:60px;}
.object {height:60px; overflow:hidden; width:150px;margin:0; padding:0}

JavaScript

$(document).ready(function() {
    var busy = false;
  $('.object').hover(function() {
      if(!busy) {
          $(this).find('.overlay').animate({bottom:($(this).find('.overlay').position().top-$(this).find('img').position().top)+'px'}, 200);
      }
       }, function() {
           busy = true;
           $(this).find('.overlay').animate({bottom:'0px'}, 200,"swing", function() {busy=false;});
       });
});