JSFiddle - React, Tailwind, and code Playground

by Valder Black

HTML

<div id="ID"></div>

CSS

#ID{
    width:100px;
    height:200px;
    border:1px solid #000;
}

JavaScript

var speed=1000,
        originalHeight=200,
        hoverHeight=500;
    
    $('#ID').hover(function(){
        $(this).stop().animate({height:hoverHeight},speed);
    },function(){
        $(this).stop().animate({height:originalHeight},speed);
    })