JSFiddle - React, Tailwind, and code Playground
HTML
<body>
<div id='slide'>Click me!</slide>
</body>
CSS
#slide {
width: 200px;
height: 200px;
margin:0px;
background-color:#435000;
color:#FAFAFA;
position:relative;
}
JavaScript
$(document).ready(function(){
$('#slide').click(function(){
$(this).animate({top:'200px'},1000,function(){$(this).fadeOut();});
});
});