JSFiddle - React, Tailwind, and code Playground

HTML

<div id="test"></div>

CSS

#test
{
    width:200px;
    height:500px;
    background:#999;
    position:fixed;
    top:0;
    right:0;
}

JavaScript

setTimeout(function(){
$('#test').hide('fold',{size:74},1000);
},1000);

setTimeout(function(){
    $('#test').show('fold',{size:74},1000);
},2000);